Re: dialup solution (as seconary connection / iptables )



sammy wrote:

Felix Tiede wrote:
sammy wrote:
[snip]
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?


.



Relevant Pages

  • Re: dialup solution (as seconary connection / iptables )
    ... Let me first ask in short the most pressing IPTABLES question. ... OOOPs the router is not sending the trafic to the modem server. ... You need to tell your workstations to route traffic to the news server via ...
    (comp.os.linux.networking)
  • Re: Second ISP
    ... make sure that the second ISP router does not have a better default ... All of this can be done with show ip route ... Does this require a routing ... but I would recommend a routing protocol. ...
    (comp.dcom.sys.cisco)
  • Re: T43 Networking fix question.
    ... Try a static route to the router. ... I can PING the ZyXel router on 192.168.1.1 just fine that way. ... But then, no matter what combination of HOST or NET route addressing I create in the fixed address tables in the TCP/IP configuration panels, I can never ping anything other than the 192.168.1.1 private address side of the ZyXel router. ... When you go to look at the documents in the supplied Broadcom driver package, in their 'PROTOCOL.INI' sample, they provide for additional 'fields' at the bottom of it in the driver section. ...
    (comp.os.os2.misc)
  • Re: Routing through two DD-WRTs
    ... a lousy term for blocking any wireless to wireless traffic. ... I can happily route packets from hosts on .111 to .110 and .112, ... IP table are for firewall rules, not for routing. ... gateway (IP address of remote router). ...
    (alt.internet.wireless)
  • Re: Routing for Verizon FIOS -- Reward for answer
    ... The problem we have is this:  Verizon's gateway is 70.x.x.1. ... address for our router ...  What do we use as an address for the outside interface ... route outbound through the gateway. ...
    (comp.dcom.sys.cisco)