Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
OpenVPN as Client: Routingproblems
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN as Client: Routingproblems (Read 4558 times)
hongo
Newbie
Posts: 9
Karma: 0
OpenVPN as Client: Routingproblems
«
on:
November 13, 2017, 11:19:47 am »
Hi,
I am a little bit lost with my openvpn configuration. I configured opnsense as a openvpn-client. The tunnel is "UP". I configured an interface with ovpnc1, created a gateway(with dhcp because openvpn pushes all the config) and even created a static route for the remote-network. I even created a few rules for lan-network and outbound-nat. But I am not able to ping from the lan-network into the remote-vpn-network. traceroute tells me, that opnsense routes even the traffic for the vpn to the defaultgateway instead of the vpn-gateway. If I connect via ssh to opnsense and try to ping the remote-vpn from there, it works as considered. I have no clue why opnsense routes my vpn-traffic to the defaultgw instead of the vpngw.
Any ideas?
Logged
Oxygen61
Sr. Member
Posts: 350
Karma: 32
Der Weg zum Erfolg hat keine Abkürzung - (Tanaka)
Re: OpenVPN as Client: Routingproblems
«
Reply #1 on:
November 13, 2017, 10:03:28 pm »
Hi hongo,
not really a clue, but please double check that all your firewall rules from "LAN" to external (Internet/!RFC1918), are having a "gateway" set inside of the rule.
Cheers
Oxy
Logged
hongo
Newbie
Posts: 9
Karma: 0
Re: OpenVPN as Client: Routingproblems
«
Reply #2 on:
November 14, 2017, 10:34:04 pm »
Explicitly setting the gateway on all rules of the lan interface solved the problem. Thank you very much!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
OpenVPN as Client: Routingproblems