Re: how to reroute all ADSL traffic via another server on the internet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Apr 28, 2010 at 4:32 PM,  <m.roth@xxxxxxxxx> wrote:
> Rudy,
>
> Rudi wrote:
>> On Wed, Apr 28, 2010 at 4:06 PM,  <m.roth@xxxxxxxxx> wrote:
>>
>>> AH! The light dawns! <g>
>>>
>>> Sounds to me as though you need to have the clients use the hosted
>>> system as their gateway, as though they're on a subnet, and have to go
>>> through the hosted system as a firewall (not a bad idea in itself). They
>>> need to *not* look directly out.
>>>
>>> Sounds like an iptables setup to route through the hosted system.
>>> Remember, if that works for you, that all the rules for blocking should
>>> happen *first* in /etc/sysconfig/iptables.
>>
>> That's right :)
>>
>> But, I don't know how todo this, or what todo....... And I don't know
>> what to look for on the internet to help me with this either.
>
> *sigh*
> I was just thinking about this, and I think the answer is
> $ route add -net 0.0.0.0 gw <hosted IP> eth0

ok, let's try ? this tells it to route all traffic, including my SSH
connection to the gateway, rigth. But, what do I need todo on the
gateway, since the gateway will route incoming & outgoing traffic over
the same interface, eth0



>>
>> What makes it different that what I've setup before is that it's not
>> really a LAN anymore, so I can't just tell the ADSL connected server
>> to use the hosted server as gateway, I don't think that'll work.
>
> What's not really a LAN anymore - does the ADSL server have people using
> that as a gateway?

Yes, in this case there's 5 PC's behing the Linux gateway


>
>      mark
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux