Results 1 to 3 of 3
hi, got a little routing issue, i would like to tell my router that connections to 10.8.0.x should be redirected to a local machine which then does the openvpn connection. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-17-2013 #1
- Join Date
- Mar 2013
got a little routing issue, i would like to tell my router that connections to 10.8.0.x should be redirected to a local machine which then does the openvpn connection.
so my network looks like this:
client - > switch -> router -> inet ^ openvpn server |
openvpn server 192.168.11.85
route add -net 10.8.0.0 netmask 255.255.255.0 gw 192.168.11.85 dev br-lan
now i can run "ping 10.8.0.1" on my router and get a reply (10.8.0.1 is the openvpn server)
but my lan clients still get: "From 192.168.11.1 icmp_seq=1 Destination Port Unreachable"
what else is needed?
- 04-18-2013 #2
- Join Date
- Jan 2013
I'm not sure how this might help you, but as I'm currently studying / trying to understand iptables (Linux's firewall) I would recommend you to create a rule there instead. Might work better as you are making a rule by establishing your own target and policy. It is indeed a bit complex, but once you understand it (I still could not) it's wonderful.
- 04-18-2013 #3
I would recommend you to check FORWARD chain of iptables. It's likely that there DROP policy is set (and maybe some ACCEPT rules). You can runCode:
iptables -L -v
And just in case check the value of the following system variables: