Re: Problem with VPN routing from internal network

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux