AW: two external ips

Kipp Holger h.kipp at eurowings.com
Mon Sep 12 01:42:17 PDT 2005


RYAN vAN GINNEKEN wrote on Monday, Mo 12.09.2005 09:32

 
> need help setting up machine to forward external ips


Could you provide more details? What do you want to
accomplish? What networks are to be used (dmz, internal
and/or external networks, default routes etc.)

Do you want to forward all IP packets, or do you want
to filter this based on protocol, ports, direction etc.
(eg tcp: http/https/ftp/ssh, udp: dns)

For general info about routing/nat/firewall you might
find the man-pages for ipnat, ipfw, ipf and pf (pfctl)
useful (or confusing, if you are new to this ;-)

If the subject really just means that you want to
use a computer with one NIC that has two external
IPs, you just might to add an alias. See 'man ifconfig'
for this and keep an eye on the _non-conflicting_(!)
netmask.

Regards,
Holger Kipp



More information about the freebsd-stable mailing list