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

[K12OSN] Routing in Redhat



I am trying to set up a quick SSH-PPP-VPN link between 2 networks protected by 
firewalls. (I know, there are better and more secure ways of doing it, but 
this is the fastest and dosnt require any special software)

Anyway, when I get the link established, I can not route packets through the 
link.  The basic things to check (that I already did) are:

/proc/sys/net/ipv4/ip_forward is set to 1
/proc/sys/net/ipv4/config/ppp0/forward is set to 1
iptables has no filters, and all policies are set to ACCEPT
The routes are set up correctly.

I use the same set up scripts to connect to another machine (running Debian) 
and it works fine, so I assume this has to do with the RedHat box.  

Here are more complete details:


Box A (RH 7.2)
public ip: 1.2.3.4
private ip: 10.3.0.99
private net 10.3/24
ppp ip 192.168.69.1

Box B (RH 7.3)
public ip: 4.3.2.1
private ip: 192.30.10.101
private net: 192.30.10/24
ppp ip: 192.168.69.2

Box B initiates the connection, and once the connection, both boxes can ping 
eachother's ppp ip.  They can also ping the private IP of the other box, but 
not anything else on the network.  

When Box B uses the same scripts to connect to a Debian box, routing works 
fine from B to anywhere on the private net. So it must be some RedHat 
configuration.  

Any ideas?

I can post the script I use to make the connection if anyone wants it.



Jay





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