Date: Sun, 18 Jan 2004 11:20:40 -0500 From: "Matthew McGehrin" <mcgehrin@reverse.net> To: <freebsd-ipfw@freebsd.org> Subject: Re: ipfw rule for aliased ip virtual hosts Message-ID: <002301c3dddf$03a3fc70$af00a8c0@orange> References: <000901c3ddd1$9abb5ee0$32fea8c0@presidio>
next in thread | previous in thread | raw e-mail | index | archive | help
1. How are you adding aliases? using /etc/rc.conf or direct? Using rc.conf, the format is: ifconfig_rl0_alias0="inet 192.168.2.3 netmask 255.255.255.255" ifconfig_rl0_alias1="inet 192.168.2.4 netmask 255.255.255.255" ifconfig_rl0_alias2="inet 192.168.2.5 netmask 255.255.255.255" Using rc.local the format is: ifconfig rl0 192.168.2.3 netmask 255.255.255.255 alias ifconfig rl0 192.168.2.4 netmask 255.255.255.255 alias ifconfig rl0 192.168.2.5 netmask 255.255.255.255 alias 2. Can you ping or access other services to your vhost ip? i.e.: ping 192.168.2.3 or telnet 192.168.2.3 22 3. Please post the output of 'ipfw list' if your still stuck. Thanks ----- Original Message ----- From: "Greg Robinson" <greg@ltcc.com> To: <freebsd-ipfw@freebsd.org> Sent: Sunday, January 18, 2004 9:44 AM Subject: ipfw rule for aliased ip virtual hosts > Fxp0 is configured as XX.XX.XX.197, and 198,199 are aliased. > Out of the box rc.firewall "simple" permits the web site configured as > 197 to function yet the others do not. > This box is running named, sendmail, and apache at this point. > Want it to support six web sites all with their own mail and web pages.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c3dddf$03a3fc70$af00a8c0>