Joining two networks through two dial-up-ing linux boxes

Joining two networks through two dial-up-ing linux boxes

Post by Massimo Santor » Mon, 10 Feb 2003 07:54:09



Hi everyone,

maybe this is a FAQ, but I really could not configure two linux boxes in
order to make their NATTED PC's behind them be able to access eachothers.

What I could do:

Linux-A in Network-A could be seen by Linux-B and Network-B with a PPTP
connection, but I could not make Network-B "see" Network-A and viceversa.

Any suggestions? I saw there are many other ways other than PPTP to achieve
what I want, but maybe it's just some misconfiguration and I have to study
more! :-)

Massimo Santoro

 
 
 

Joining two networks through two dial-up-ing linux boxes

Post by David Efflan » Tue, 11 Feb 2003 00:39:58



> Hi everyone,

> maybe this is a FAQ, but I really could not configure two linux boxes in
> order to make their NATTED PC's behind them be able to access eachothers.

> What I could do:

> Linux-A in Network-A could be seen by Linux-B and Network-B with a PPTP
> connection, but I could not make Network-B "see" Network-A and viceversa.

> Any suggestions? I saw there are many other ways other than PPTP to achieve
> what I want, but maybe it's just some misconfiguration and I have to study
> more! :-)

It depends what you mean by "see".  Are you talking ping, a connection
(like ssh) or Network Neighborhood.  Peer2peer Windows file and printer
sharing works by broadcasting so boxes in one network would not see such
broadcasts from the other (unless you have samba doing wins).

I have not connected 2 networks, but I did successfully connect a ppp
dialup through internet to adsl to private LAN using freeswan (ipsec).  
The hard part is figuring out custom iptables scripts that run when ipsec
connects, to punch a hole through your firewall.

I never could get poptop (pptp) to work because just after pppd would
start for pptp something would immediately disconnect.

--
David Efflandt - All spam ignored  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/