Re: iptables? issue

2012-02-18 Thread jdow
On 2012/02/18 08:23, nu...@gmx.com wrote: This is what I did some time ago. I've not tried it with the latest iptables. (I spun my own firewall.) REDIR is the local IP to be redirected to. And REDIRPORT is the port to be redirected. EXTIF and INTIF are probably obvious. (If they aren't you may

Re: iptables? issue

2012-02-18 Thread nullv
  This is what I did some time ago. I've not tried it with the latest iptables. (I spun my own firewall.) REDIR is the local IP to be redirected to. And REDIRPORT is the port to be redirected. EXTIF and INTIF are probably obvious. (If they aren't you may need some reading time.) /sbin/iptables

Re: iptables? issue

2012-02-17 Thread jdow
This is what I did some time ago. I've not tried it with the latest iptables. (I spun my own firewall.) REDIR is the local IP to be redirected to. And REDIRPORT is the port to be redirected. EXTIF and INTIF are probably obvious. (If they aren't you may need some reading time.) /sbin/iptables -A F

Re: iptables? issue

2012-02-17 Thread nullv
I was reading this thread and when I hit nullv's message the coin dropped about routers if he wants to use one of his Internet addresses as a gateway for the internal network. If he wants access to his 10.x.y.z network, though, that db0 machine will have to come in through one of his computers u

Re: iptables? issue

2012-02-14 Thread jdow
On 2012/02/14 12:40, Joe Zeff wrote: On 02/14/2012 12:30 PM, jdow wrote: Hm, would you not want to run a router daemon if you want to use a machine as a router/gateway? I'd expect so. In that case, of course, you'd say that it was acting as the router for W.X.Y.Z/NN, but most of the time you w

Re: iptables? issue

2012-02-14 Thread Joe Zeff
On 02/14/2012 12:30 PM, jdow wrote: Hm, would you not want to run a router daemon if you want to use a machine as a router/gateway? I'd expect so. In that case, of course, you'd say that it was acting as the router for W.X.Y.Z/NN, but most of the time you wouldn't express its own IP that way

Re: iptables? issue

2012-02-14 Thread jdow
On 2012/02/14 10:53, Joe Zeff wrote: On 02/14/2012 12:13 AM, nu...@gmx.com wrote: I was just doing that for completeness so that you would knwo that they are in the same subnet, ie, the same /29 cidr. I would have thought that just stating that they're on the same LAN, served by the same route

Re: iptables? issue

2012-02-14 Thread Joe Zeff
On 02/14/2012 12:13 AM, nu...@gmx.com wrote: I was just doing that for completeness so that you would knwo that they are in the same subnet, ie, the same /29 cidr. I would have thought that just stating that they're on the same LAN, served by the same router would have implied that, especiall

Re: iptables? issue

2012-02-14 Thread nullv
- Original Message - From: gary artim Sent: 02/13/12 10:14 PM To: Community support for Fedora users Subject: Re: iptables? issue if you own both address you need to alias your nic with the other address. ifcfg-eth0:0 add in /etc/sysconfig/network-scripts Hi Gary, It still wouldn&#

Re: iptables? issue

2012-02-14 Thread nullv
- Original Message - From: Mike Wright Sent: 02/14/12 12:22 AM To: Community support for Fedora users Subject: Re: iptables? issue On 02/13/2012 11:34 AM, nu...@gmx.com wrote: > Hi, > I'm hoping that you can point out what i'm missing here. I have a server > (router

Re: iptables? issue

2012-02-14 Thread nullv
 - Original Message -  From: Joe Zeff  Sent: 02/13/12 10:33 PM  To: Community support for Fedora users  Subject: Re: iptables? issue   On 02/13/2012 11:34 AM, nu...@gmx.com wrote: > I'm hoping that you can point out what i'm missing here. I have a server >

Re: iptables? issue

2012-02-13 Thread Mike Wright
On 02/13/2012 02:22 PM, Mike Wright wrote: On 02/13/2012 11:34 AM, nu...@gmx.com wrote: Hi, I'm hoping that you can point out what i'm missing here. I have a server (router0) with a public ip 41.123.234.74/29 that's using an internet modem 41.123.234.73/29 as a gateway. the server (router0) also

Re: iptables? issue

2012-02-13 Thread Mike Wright
On 02/13/2012 11:34 AM, nu...@gmx.com wrote: Hi, I'm hoping that you can point out what i'm missing here. I have a server (router0) with a public ip 41.123.234.74/29 that's using an internet modem 41.123.234.73/29 as a gateway. the server (router0) also has a second card used for lan comms where

Re: iptables? issue

2012-02-13 Thread Bruno Wolff III
On Mon, Feb 13, 2012 at 12:33:14 -0800, Joe Zeff wrote: > On 02/13/2012 11:34 AM, nu...@gmx.com wrote: > >I'm hoping that you can point out what i'm missing here. I have a server > >(router0) with a public ip 41.123.234.74/29 that's using an internet > >modem 41.123.234.73/29 as a gateway. > >

Re: iptables? issue

2012-02-13 Thread Joe Zeff
On 02/13/2012 11:34 AM, nu...@gmx.com wrote: I'm hoping that you can point out what i'm missing here. I have a server (router0) with a public ip 41.123.234.74/29 that's using an internet modem 41.123.234.73/29 as a gateway. If I'm not mistaken, an IP address with a /XX at the end is used to de

Re: iptables? issue

2012-02-13 Thread gary artim
if you own both address you need to alias your nic with the other address. ifcfg-eth0:0 add in /etc/sysconfig/network-scripts On Mon, Feb 13, 2012 at 11:34 AM, wrote: > Hi, > > I'm hoping that you can point out what i'm missing here. I have a server > (router0) with a public ip 41.123.234.74/

iptables? issue

2012-02-13 Thread nullv
Hi, I'm hoping that you can point out what i'm missing here. I have a server (router0) with a public ip 41.123.234.74/29 that's using an internet modem 41.123.234.73/29 as a gateway. the server (router0) also has a second card used for lan comms where it has ip address 10.0.0.1/8. addresses ar