how to reroute all ADSL traffic via another server on the internet?
Rudi Ahlers sent a missive on*2010-04-28:
> On Wed, Apr 28, 2010 at 4:31 PM, John Doe <jdmls@yahoo.com> wrote:
>> From: Rudi Ahlers <rudiahlers@gmail.com>
>>> 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?
>>
>> Maybe you wann have a look at: http://lartc.org/howto/
>>
>> JD
>
>
>
> Thanx JD. I can't load the site though, what is on it?
>
>
>
It?s the Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-28-2010, 02:57 PM
"Simon Billis"
how to reroute all ADSL traffic via another server on the internet?
Rudi Ahlers sent a missive on*2010-04-28:
>
> And I haven't been able to install openvpn on the ADSL hosted server
> either, so I want to try a gateway type setup
Having given this some thought I think that you would do better to provide
proxy services on a case by case basis.
Attempting to route traffic using a default gateway I don't think is going
to work... the "next hop" is not on a local subnet so I don?t think this is
going to work (I might be wrong about this).
You could have a vpn between the machines - the ADSL gateway machine have a
VPN to the IS machine and all traffic from and to the ADSL machine/NAT
network behind it is routed over the VPN. This does work and is fairly easy
to set-up if you have access to the ADSL machine.
If you can't set this up then I think that you should concentrate on
providing proxy services for essential services i.e. http, smtp, pop3, imap,
ftp (if needed). Squid will do some, you can then use a mail server of your
choice to provide smtp relay services, I think that there is a pop3/imap
proxy out there also (I've never used one though). For such services the
adsl gateway machine can then do DNAT on the outbound packet (using iptables
prerouting table) and then the proxied service will then do its thing
(hopefully).
By far the best solution requiring little effort is a vpn (imho).
Rgds
Simon.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos