Open vpn is a nice solution in my opinion
2010/4/28 Rudi Ahlers rudiahlers@gmail.com
On Wed, Apr 28, 2010 at 3:26 PM, Simon Billis simon@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 :-)
Thanks
Simon.
Hi Simon,
Thanx for the help :)
The ADSL connected server currently runs on 196.210.176.x, and the internet connected server runs on 196.34.136.109
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 interner.
Would ipforwarding still work, since I want to reroute all packets on eth0 of 196.34.136.109 in, and back out?
-- Kind Regards Rudi Ahlers SoftDux
Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos