-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello , I'm trying to set up a firewall for my office using iptables. The system is a RedHat 7.1 installation with all the latest updates. Once of the things we have here is that the external NIC (eth0) supports 4 IP addresses. The internal network is a 192.168.1. subnet. I'm trying to get this system to route packets going to one of the virtual IPs to one of internal system. But I can't figure out how. When I try the command, iptables rejects the virtual interface (see the output below). Any help would be appreciated. Thanks in advance. ============== Output of commands follow =============== [root@debbie-new tools]# sh -x /tmp/ab + /sbin/iptables -I FORWARD -p tcp -d 192.168.1.2 --dport 80 -j ACCEPT + /sbin/iptables -I FORWARD -p udp -d 192.168.1.2 --dport 80 -j ACCEPT + /sbin/iptables -t nat -A PREROUTING -p tcp -i eth0:1 --dport 80 -j DNAT --to +192.168.1.2:80 Warning: wierd character in interface `eth0:1' (No aliases, :, ! or *). + /sbin/iptables -t nat -A PREROUTING -p udp -i eth0:1 --dport 80 -j DNAT --to +192.168.1.2:80 ======================================================== JBB Jonathan mailto:[EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (MingW32) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjug+/oACgkQxQhxe/20cF4EdwCfbCTDNhi2Io4citN7XXkD3tkU dyYAn03RoV4fciu1G7m9k9tNP5eHpu3n =pekk -----END PGP SIGNATURE-----
BEGIN:VCARD VERSION:2.1 N:Bayer;Jonathan;B.;Mr. FN:Jonathan B. Bayer EMAIL;PREF;INTERNET:[EMAIL PROTECTED] ORG:Dynamic Logic, Inc. TITLE:Director of Technology TEL;WORK;VOICE:(646) 742-4944 TEL;HOME;VOICE:(732) 283-2615 TEL;CELL;VOICE:(732) 423-3810 ADR;WORK:;;3 Park Ave., 37th Floor;New York;NY;10016;USA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:3 Park Ave., 37th Floor=0D=0ANew = York=0D=0ANY=0D=0A10016=0D=0AUSA ADR;HOME:;;99 Trento St.;Iselin;NJ;08830;USA LABEL;HOME;ENCODING=QUOTED-PRINTABLE:99 Trento St.=0D=0AIselin=0D=0ANJ= =0D=0A08830=0D=0AUSA URL;WORK:www.dynamiclogic.com REV:18991230T050000Z END:VCARD
