|
|
|
|
|
|
| Author |
Message |
Andras Got *nix forums beginner
Joined: 06 Feb 2004
Posts: 5
|
Posted: Tue Mar 02, 2004 5:20 pm Post subject:
Re: Converting iptables to ipfw
|
|
|
Hi!
All the below mentioned works. I think you should use ipf for packet
filtering, and ipnat for NAT.
For /etc/ipnat.rules, the basic is:
map $inet_iface $lan_mask -> 0/32
$lan_mask= x.x.x.x/y (netmask)
For /etc/ipf.rules:
http://www.obfuscation.org/ipf/ipf-howto.html
With many examples and tricks also.
Andrej
Sasa Stupar wrote:
| Quote: | Hi!
I am thinking to change my old linux router to the freebsd one. The
question is: how difficult is to convert iptables into ipfw rules?
I need some basic things with that router:
- internet gateway for LAN users
- packet filtering with MAC/IP address filtering
- port forwarding
- NAT onto same network so that LAN users can access web server which is
on the LAN also
Is this all possible with ipfw?
Regards,
Sasa
_______________________________________________
freebsd-config@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "freebsd-config-unsubscribe@freebsd.org"
_______________________________________________ |
freebsd-config@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "freebsd-config-unsubscribe@freebsd.org" |
|
| Back to top |
|
 |
Sasa Stupar *nix forums beginner
Joined: 02 Mar 2004
Posts: 4
|
Posted: Tue Mar 02, 2004 5:00 pm Post subject:
Converting iptables to ipfw
|
|
|
Hi!
I am thinking to change my old linux router to the freebsd one. The
question is: how difficult is to convert iptables into ipfw rules?
I need some basic things with that router:
- internet gateway for LAN users
- packet filtering with MAC/IP address filtering
- port forwarding
- NAT onto same network so that LAN users can access web server which is
on the LAN also
Is this all possible with ipfw?
Regards,
Sasa
_______________________________________________
freebsd-config@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "freebsd-config-unsubscribe@freebsd.org" |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 9:54 am | All times are GMT
|
|
Problem Mortgage | Buy Anything On eBay | Debt Consolidation | Debt Consolidation | Air Jordans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|