Link to home
Start Free TrialLog in
Avatar of kephillips
kephillips

asked on

iptables for dialup server

HI.
Ok. I have RH9 running as my DNS server. I want to have a dialup connection over ppp0 for internet mostly.
I can already establish the connection and when turning iptables off on the server.
What rules/ports do I need to add/open for this to work.
I would like to treat my ppp0 users as not totally safe-not outside but not inside either. Is there a way to do this??
thanks.
ASKER CERTIFIED SOLUTION
Avatar of Alf666
Alf666

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kephillips
kephillips

ASKER

OK. here's the basics:
$INSIDE=eth0
$OUTSIDE=eth1
I would basically like to use this one line to abilitate my ppp+ the same way as I have for eth0.
How can I do this. I made a line just like this for ppp+ but when I run it, it cuts off my internal network. How can I run them at the same time. (eth0 and ppp+ as trusted)
iptables -A INPUT -i $INSIDE -d 192.168.0.1 -j ACCEPT

Thanks.