Specific routing problem help needed

Hi,

I am trying to set up the following :

  • One linux box connected to the net, static address, eth0
  • No other eth interface on the box

I want to set up this box in a way it can accept remote connections, like pptp tunnels (which seems the easier to set up unless you have other idea) through its public IP address THEN give unrestricted access to the net to these connected users from that same public IP address.

I a nutshell I want to set up a relay machine that can be anywhere on the net. Part of a design project for a large architecture scale thing that I have to think about.

I have set up the box, pptpd server, battled with windows temperemental details and now I can connect a windows client to that box except ... that from the windows station I cannot go anywhere :frowning: I thought like in the old days, putting proxyarp and defaultroute into the ppp config would do the trick, well, looks I'm sadly mistaken:)

Of couse, to save time, the ip_forwad is set, the ip_filter is shut down, and all the things are working ... except that.

Any help would be appreciated :slight_smile:

Thanks

Michel

Are you trying to set up a tunnel ? Something like:

hosts_behind_NAT>============[server]

Did you set up routing on the hosts?
Did you set up routes back?
are tunnel interfaces up?

moreover you said your server has just one interface: eth0,
did you mean one internal,LAN interface, or one at all (no WAN )???
honestly I don't have much experience with pptp,
more with GRE... but the question is interesting

I am using OpenVPN for more or less the same purpose.