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.
Just build your rules based on interfaces, and not ip addresses.
There's a special feature in netfilter (iptables) that allow you to use a '+' sign as a wildcard.
So, in your case, you would build rules for a pseudo interface named "ppp+". This will match all pppn interfaces as they appear.
0
kephillipsAuthor Commented:
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.
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
There's a special feature in netfilter (iptables) that allow you to use a '+' sign as a wildcard.
So, in your case, you would build rules for a pseudo interface named "ppp+". This will match all pppn interfaces as they appear.