On 23 Aug 2008, at 21:09, Andrew Gaydenko wrote:
...
1. eth0 IP address,
2. adsl modem IP address eth0 is connected with,
3. dedicated IP address for ppp0 interface after connecting to...
4. ... provider's pptp server with another, fourth, IP address.
Could you try explaining this again, please?
The adsl modem will not be "connected with" eth0, because the ADSL
modem will (surely?) be ppp0.
The aim is to close all incoming traffic except for, say, httpd port.
As I'm reading it you can simply firewall all unsolicited incoming on
ppp0 - ignoring all other interfaces - then open port 80. But since
your explanation doesn't make sense I can't be sure I'm not missing
something.
Stroller.