* iptables for ADSL
@ 2003-11-21 19:25 Alejandro Cabrera Obed
2003-11-21 19:29 ` Antony Stone
2003-11-21 20:47 ` Ramin Dousti
0 siblings, 2 replies; 4+ messages in thread
From: Alejandro Cabrera Obed @ 2003-11-21 19:25 UTC (permalink / raw)
To: Netfilter lista (iptables)
Hi people !!!
I have a basic doubt: I want to connect my Linux with iptables to Intrenet
via ADSL. Just one question:
Do I have to set
echo "1" > /proc/sys/net/ipv4/ip_dynadrr
in order to work with dynamic addresses asigned by my ISP ????
Thanks a lot
Ale
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: iptables for ADSL
2003-11-21 19:25 iptables for ADSL Alejandro Cabrera Obed
@ 2003-11-21 19:29 ` Antony Stone
2003-11-21 19:40 ` Tim Evans
2003-11-21 20:47 ` Ramin Dousti
1 sibling, 1 reply; 4+ messages in thread
From: Antony Stone @ 2003-11-21 19:29 UTC (permalink / raw)
To: Netfilter lista (iptables)
On Friday 21 November 2003 7:25 pm, Alejandro Cabrera Obed wrote:
> Hi people !!!
>
> I have a basic doubt: I want to connect my Linux with iptables to Intrenet
> via ADSL. Just one question:
>
> Do I have to set
> echo "1" > /proc/sys/net/ipv4/ip_dynadrr
> in order to work with dynamic addresses asigned by my ISP ????
I have a dynamic IP cable modem connection and I've never done this.
Antony.
--
If the human brain were so simple that we could understand it,
we'd be so simple that we couldn't.
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: iptables for ADSL
2003-11-21 19:29 ` Antony Stone
@ 2003-11-21 19:40 ` Tim Evans
0 siblings, 0 replies; 4+ messages in thread
From: Tim Evans @ 2003-11-21 19:40 UTC (permalink / raw)
To: Antony Stone, Netfilter lista (iptables)
On Fri, 21 Nov 2003 19:29:28 +0000, Antony Stone wrote
> On Friday 21 November 2003 7:25 pm, Alejandro Cabrera Obed wrote:
>
> > Hi people !!!
> >
> > I have a basic doubt: I want to connect my Linux with iptables to Intrenet
> > via ADSL. Just one question:
> >
> > Do I have to set
> > echo "1" > /proc/sys/net/ipv4/ip_dynadrr
> > in order to work with dynamic addresses asigned by my ISP ????
You just need to capture your dynamically assigned IP address at iptables
startup time and use it in your rules. I have the following variable
assignment in my RH 7.3 startup sdript (all one line):
INET_IP=`ifconfig eth1 | grep 'inet addr' | awk -F":" '{print $2}' | sed 's/
Bcast//'`
Then just use $INET_IP in your rules.
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
tkevans@tkevans.com | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: iptables for ADSL
2003-11-21 19:25 iptables for ADSL Alejandro Cabrera Obed
2003-11-21 19:29 ` Antony Stone
@ 2003-11-21 20:47 ` Ramin Dousti
1 sibling, 0 replies; 4+ messages in thread
From: Ramin Dousti @ 2003-11-21 20:47 UTC (permalink / raw)
To: Alejandro Cabrera Obed; +Cc: Netfilter lista (iptables)
On Fri, Nov 21, 2003 at 04:25:06PM -0300, Alejandro Cabrera Obed wrote:
> Hi people !!!
>
> I have a basic doubt: I want to connect my Linux with iptables to Intrenet
> via ADSL. Just one question:
>
> Do I have to set
> echo "1" > /proc/sys/net/ipv4/ip_dynadrr
> in order to work with dynamic addresses asigned by my ISP ????
Take a look at Documentation/networking/ip_dynaddr.txt of your
kernel source tree.
In short you do not need this.
Ramin
>
> Thanks a lot
>
> Ale
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-21 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-21 19:25 iptables for ADSL Alejandro Cabrera Obed
2003-11-21 19:29 ` Antony Stone
2003-11-21 19:40 ` Tim Evans
2003-11-21 20:47 ` Ramin Dousti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox