[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ipchains an IP aliases - how to setup?



First i draw situation:

My Home net           My firewall     192.168.x.x/24
-----                 ---------------
|    |  ---------eth1| masq, ipchains|eth0-------
<Net>---(Router)-Public
-----                 ---------------                     (masq  )
Internet

10.x.x.0/24

All works OK.
Now i recived public adress too (213.x.x.x).
First i setup alias eth0:1
All works ok when ipchains is disabled.
When I enable ipchains (i use only default rules from /etc/ipmasq/rules
)
all packet are DENY.

I found that eth0 and eth0:1 are treated as one interface eth0
in that scripts.

Is possible to setup ipchains on interface with multiple aliases?

(If not i put another card and separate local and public net)


Rafał Franczak



Reply to: