Skip to contentSkip to conversation

Iptables and gateway help me! Please ...

DISCUSSION Nguyen Dinh Tuan 2 participants 2 messages Oct 25, 2004 – Oct 26, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

I am Nguyen dinh tuan, live in VietNam, an administrator beginer. I had found some information of iptables on website http://www.linuxguruz.com/iptables/ but i cannot find information, i need. Please help me

my problem is, i have a dial server run in dial on demand mode, used wvdial and pppd. The dial server have 2 network interface: eth0 and ppp0. If one PC of LAN connect to the dial-server (through eth0 as gateway) the dial-server dial up to ISP automaticlly. I donot know what happenning with ppp0 and eth0. I can't control my dial-server. . Pls help me solve

---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

#1 lore raw
Quoted 7 lines · Nguyen Dinh Tuan

Hi!

I am Nguyen dinh tuan, live in VietNam, an administrator beginer. I had found some information of iptables on website
http://www.linuxguruz.com/iptables/ but i cannot find information, i need. Please help me

Quoted 5 lines

my problem is, i have a dial server run in dial on demand mode, used wvdial and pppd. The dial server have 2 network interface: eth0 and ppp0. If one PC of LAN connect to the dial-server (through eth0 as gateway) the dial-server dial up to ISP automaticlly. I donot know what happenning with ppp0 and eth0. I can't control my dial-server. . Pls help me solve

Unfortunately your issue is not very clear to those of us reading the list.

What is it about your dial-server that you wish to control? By default, if a
client connected from your 'lan' you would normally want to connect to the internet (your isp).
How do you expect iptables to assist in controlling this? Normally this
would be the responsibility of the pppd configuration and wvdial ...

I suspect that what you are looking for is some way to manage your firewall
given that you dial up a connection each time your clients connect, and this results in you having differing IP addresses on ppp0 constantly, and possibly differing IP addresses to handle on eth0. For information regarding this we need to know more about what you want.

A clue about what distribution, and kernel version and iptables versions
wouldn't hurt the list either.

Good luck

Alistair Tonner

Quoted 7 lines

---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!