OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • openvpn config import
« previous next »
  • Print
Pages: [1]

Author Topic: openvpn config import  (Read 2487 times)

mornori

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
openvpn config import
« on: January 09, 2019, 08:34:40 pm »
I am new here and new to opnsense.
I have opnsense running behind a proxmox server.

All my webinterfaces(ispconfig plesk etc..) are only reachable through a vpn network which i maintain on one of my standalone servers. My production desktopsystem is the only vpn client which is permitted to reach all  clients inside the vpn. At the moment i have a debian running behind the opnsense to reach opnsense gui through the LAN interface via the proxmox console. I like to reach the opnsense gui directly from my vpn.
My openvpn settings are running fine from the opnsense shell "openvpn --config config.conf". But i cant change firewall settings for the tun0 interface via gui. I assume importing my vpnconfig through the webinterface would give me the possibility to do so. 
I miss some options inside the opnsense webgui so i cant import the config the usual way.   
I think i could miss something or i missunderstood the gui interface in some way.
perhaps someone can help me
sorry for my bad english i hope someone can follow my thoughts
regards mornori

my config :
client
proto udp
remote someip 56789
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_XXXXXXX name
auth SHA384
auth-nocache
cipher AES-256-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384
setenv opt block-outside-dns
verb 3

<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxx
-----END PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
xxx
-----END OpenVPN Static key V1-----
</tls-crypt>
« Last Edit: January 09, 2019, 08:36:49 pm by mornori »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 1904
  • Karma: 89
    • View Profile
Re: openvpn config import
« Reply #1 on: January 10, 2019, 09:41:24 am »
"But i cant change firewall settings for the tun0 interface via gui."

If there is an openVPN tunnel in the GUI (VPN), then under "Firewall" "Rules" you find a tab "OpenVPN", so you can configure rules for your tunnel. Is this your question or did I get you completely wrong?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • openvpn config import
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2