Re: dialup solution (as seconary connection / iptables )
- From: Felix Tiede <f.tiede@xxxxxx>
- Date: Wed, 26 Nov 2008 09:55:08 +0100
sammy wrote:
Felix Tiede wrote:[snip]
sammy wrote:
Oh right (static routes), I can enter redirection for those 3 or 4
addresses based on just ip ( since they don't serve anything else ) into
the router. Only problem is it doesn't let me enter single ip mask,
lucky for me news are 247 and 250 so 255.255.255.240 it is.
If you want to add a single host to the system's routing table, just add
the ip address, prefixed by -host if you want to. You don't need to
specify a netmask then.
The above was refering to the netgear router and it's web interface.
I hoped that it could redirect trafic localy, but I guess no luck.
I'd be surprised if there were any luck in this. Those routers are not very
configurable.
<<snip>>
You should masquerade your outgoing connections like this:
# iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
which you can do as well from ppp's ip-up scripts.
Well now that may work.
OOOPs the router is not sending the trafic to the modem server.
looks like I am stuck with 192.168.0.6:119 as the news server address.
Unless the conflict is with the fact that the router (netgear WGR614v3 )
has DHCP on (11- ), but I an using all static addresses below that hmmm.
no it shouldn't, that would be a serious bug.
You need to tell your workstations to route traffic to the news server
via modem server. Your DSL router has no business in this. And it will
never do "the right thing" unless you run it with openwrt or something
and modify its routing table manually.
Not sure what you mean , earlier you sugested to use the real address
in the news reader, are you saying I should use IPTABLEs on stations to
DNAT to the server and there DNAT to the real address?
Not knowing your network's topology I thought it was your "modem server"
which is where your newsreader runs. Now that I know better, I'd rather
suggest you'd specify your modem server as gateway to the newsservers.
or acctualy
route add 64.news.server.ip 192.168.0.6
wouldn't using the local address out right be the same.
Depends on the protocol. Honestly I don't know, but if you have only linux
boxes as workstations you should be able add these routes to their network
configurations.
[snip]
heh I'll try to keep it a secret, how obwious can it be?
.
- Follow-Ups:
- References:
- dialup solution (as seconary connection / iptables )
- From: sammy
- Re: dialup solution (as seconary connection / iptables )
- From: Felix Tiede
- Re: dialup solution (as seconary connection / iptables )
- From: sammy
- Re: dialup solution (as seconary connection / iptables )
- From: Felix Tiede
- Re: dialup solution (as seconary connection / iptables )
- From: sammy
- dialup solution (as seconary connection / iptables )
- Prev by Date: Re: FIN_WAIT2 not working
- Next by Date: Re: Protected folder on Apache/Linux
- Previous by thread: Re: dialup solution (as seconary connection / iptables )
- Next by thread: Re: dialup solution (as seconary connection / iptables )
- Index(es):
Relevant Pages
|