LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2006, 11:18 AM   #1
maxabbr
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Routing problem with VPN


I have a FC5 server as internet server with two interfaces:
eth0 = 200.x.x.x (my public ip)
eth1 = 192.168.10.2 (interface to may lan)

In my lan I have a file server
eth0 = 192.168.10.1

In the internet server I have too a OpenVPN server working with a 10.10.10.0/24 address pool. So this server have a virtual interface:
tun0 = 10.10.10.1

When I connect to VPN a client take the addresss 10.10.10.6.

If this client ping 10.10.10.1 the result is ok. If this client ping the 192.168.10.2 (another interface of the internet server) the result is ok because I configure in the OpenVPN the 'push "route 192.168.10.0 255.255.255.0"' int the conf file (from VPN to LAN)

But if I ping 192.168.10.1 (the another file server in the lan) I take a timeout. I try make a route in the internet server:
route add -net 10.10.10.0/24 gw 192.168.10.2
With that I can't ping from the client to 192.168.10.1, 192.168.10.2 and even 10.10.10.1!!

What's wrong with my route?

Thanks,

Max
 
Old 05-10-2006, 03:43 PM   #2
maxabbr
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I take the problem... I forget a rule in the iptables to allow the trafic... thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client routing problem on Debian Sarge pohl886 Linux - Networking 9 09-10-2006 05:49 PM
VPN problem (with routing) Myrth Linux - Networking 3 09-19-2005 11:13 PM
Problem routing PPTP VPN connections - Mandrake 10.1 kalahari875 Linux - Networking 2 01-22-2005 09:55 AM
SuSE vpn routing problem - need help nag029 Linux - Networking 1 07-26-2004 10:51 AM
routing problem with VPN tunnel hsiehkc Linux - Networking 0 01-16-2004 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration