yes, have a razon, sory, here still work with linux 386 , not bsd for
the moment, ok, here go the explication....
i wont make this, but with m0n0wall.
iptables -A FORWARD -i eth0 -o eth1 -d 184.108.40.206/24 -j ACCEPT
other example ..but changing the interfaces ...
iptables -A FORWARD -i eth1 -o eth0 -s 220.127.116.11/24 -j ACCEPT
#eth1 interface local
#eth0 interface external
the idea es retrasmit packets between 2 or more networks interfaces,,
... given internet access to the people what i want .
BUt NOT NAT !.,
people thanks for you time !!.
2005/12/31, Sven Brill <madde at gmx dot net>:
> Pablo Alonso wrote:
> >if I want forward, from my pppoe connection to an specific ip in other
> >interface, like forward in iptables, how i do ?
> >sample: iptables -A FORWARD xxxx
> >i have defined my interfaces, but i don't know how establish the rules ?.
> >some howto ?
> You need to be a little more specific. "FORWARD" in your example is a
> chain in the filter table, and generally used in either outbound or
> inbound NAT. if I understand you right, you want inbound NAT, meaning
> someone hitting your external IP on port 80/tcp, and the connection is
> forwarded to a web server on your LAN or DMZ. If that is the case,
> click on NAT in the GUI (under Firewall), and define your inbound NAT
> rule (and check "Auto-add a firewall rule to permit traffic through this
> NAT rule" to let the traffic pass). Outbound NAT should already be
> active on the LAN interface out of the box.
> If this is not what you want, be a little more specific and give a full
> iptables example and a description of what you are trying to accomplish.
> Happy new year