I am setting up PPP to run through SSH. The config I have uses 3 machines
linked in a chains as follows :-
Master <----------------------> Internet
eth0 eth1 eth1
eth0 eth1 eth0
192.168.3.1/24 22.214.171.124/8 126.96.36.199/8 188.8.131.52/8
Each machine has 2 Ethernet cards eth0 and eth1. All machines have IP
forwarding enabled and I can successfully telnet from 184.108.40.206 to 220.127.116.11.
The middle machine is acting as the internet i.e.. routing everything
between its interfaces.
I have set-up SSH to enable successful logins to a "vpn" on to the Slave
machine from the Master.
I have then set-up a PPP link that negotiates and appears to set-up OK
between both Master and Slave over the SSH link.
The PPP IP addresses that I wish to use are 192.168.1.1 on Master and
192.168.1.2 on Slave. These appear to get configured on both Master and
Slave as ppp0 but with a subnet mask of 255.255.255.255.
I am unable to ping either address on each ppp0 interface? I have tried
configuring the netmask manually to 255.255.255.0 using ifconfig and add
routes to route between the 192.168.3.0 and 192.168.4.0 networks but am
still unable to ping or telnet between the two?
I have followed all The Linux VPN/SSH HOWTO's etc. but still no luck.
I am running on RedHat 6.2 using SSH1 (latest release) and PPP 2.3.11.
Any help is much appreciated.
Thanks in advance