[CentOS] how to reroute all ADSL traffic via another server on the internet?
rudiahlers at gmail.com
Wed Apr 28 13:33:27 UTC 2010
On Wed, Apr 28, 2010 at 3:26 PM, Simon Billis <simon at houxou.com> wrote:
> Rudi Ahlers sent a missive on 2010-04-28:
>> Hi all,
>> Does anyone know, if it's possible to reroute all (i.e. HTTP / FTP /
>> DNS / SMTP / POP3 / IMAP / etc) from an ADSL connected machine via
>> another server, which is currently hosted with IS and has full
>> internet access?
>> i.e. Can I setup another machine, on a different public IP than the
>> dynamic ADSL IP as default gw? OR do I need todo something on that
>> machine to work as a router for such a setup?
>> Both servers in this case is CentOS linux, but I'm sure that won't
>> make a big difference?
> In principal yes you can do this type of thing. You'll have to enable
> ipforwarding on the gateway machine as a minimum.
> Can you provide more information about your networking setup - ip addresses
> and subnet masks, with an ascii drawing as well would help if you think it
> relevant :-), then we can provide detailed answers :-)
Thanx for the help :)
The ADSL connected server currently runs on 196.210.176.x, and the
internet connected server runs on 22.214.171.124
So, there's not on the same subnets, by a mile. In fact, the 2 servers
are seperated by about 30Km's, but I can get into both via the
Would ipforwarding still work, since I want to reroute all packets on
eth0 of 126.96.36.199 in, and back out?
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
More information about the CentOS