New DSL Service
Steve Jardine
sjardine at acm.org
Sat Sep 19 20:56:15 PDT 2009
Update: The modem uses ebtables...
On Sun, 20 Sep 2009 03:46:17 +0000 (UTC)
Steve Jardine <sjardine at acm.org> wrote:
> All,
>
> I just changed over my service to QWest DSL. I kinda had to - they killed off my old service.
>
> I have a new Actiontec Q1000 modem that is based on the Busybox distro. It is, well interesting. I have been trying to have the box make available a single port to the outside world. Port 84. Well, that has been more trouble than it would appear.
>
> First off, the LAN side of the modem defaults to 192.168.0.x. I have my internel net set to something different - still a non-routable address space mind you. Setting up a "rule" on the modem I set a "port forward" to my internal ip number (X.X.1.2 255.255.255.0) and port 84 internal and external. It make these rules:
>
> # iptables -t nat -L -v -n --line-numbers
> Chain PREROUTING (policy ACCEPT 5876 packets, 378K bytes)
> num pkts bytes target prot opt in out source destination
> 1 43 5422 ACCEPT all -- * * 0.0.0.0/0 224.0.0.0/3
> 2 0 0 DNAT tcp -- ppp0.201 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:84 to:X.X.1.2
>
> Chain POSTROUTING (policy ACCEPT 27 packets, 2616 bytes)
> num pkts bytes target prot opt in out source destination
> 1 1804 120K MASQUERADE all -- * ppp0.201 0.0.0.0/0 0.0.0.0/0
>
> Chain OUTPUT (policy ACCEPT 66 packets, 7078 bytes)
> num pkts bytes target prot opt in out source destination
>
> Of course, then this system has a screwy P-T-P route??
>
> ppp0.201 Link encap:Point-Point Protocol
> inet addr:174.17.Y.Y P-t-P:67.40.Z.Z Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP ALLMULTI MULTICAST MTU:1492 Metric:1
>
> Summary: External "Internet visible IP" 174.17.Y.Y, internal visible IP #X.X.1.1.
>
> Anyone have experience with this kind of ADSL setup??
>
>
> Steve
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc:
> http://linux-sxs.org/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
>
More information about the Linux-users
mailing list