[LARTC] Problem with VPN routing from internal network
Peter Huetmannsberger
huetmann@site38.ping.at
Fri, 8 Oct 2004 14:44:31 +0200 (CEST)
Hi!
Correct me if I am wrong, what it looks like to me is this :
192.168.1.0/24 10.0.0.1 10.0.0.2 192.168.2.0/24
server net serverfw openvpn clientfw client net
On the serverfw you need a static route to the client net:
route add net 192.168.2.0 netmask 255.255.255.0 gw 10.0.0.2
On the client net the other way round:
route add net 192.168.1.0 netmask 255.255.255.0 gw 10.0.0.1
Firewall must allow all traffic through tun+
And of course must allow traffic coming from the opposite network.
Hope this helps,
.peter
On Fri, 8 Oct 2004, Remus wrote:
> Hi folks,
>
> I have the two firewalls (Slackware current) in differnt cities connected via OpenVPN.
> I can ping the network behind server firewall from client firewall server.
> But how to route/iptable network traffic from the network behind client firewall to see the netwrok behind server firewall?
>
> Thank you
>
> Remus
>