I think iptables don�t support ip aliases
--
LuisMi
--------------------------------------------------------------
Please answer me in text plain and use spanish if you can/want.
Also please reply with the original text and subject.
e-mail powered by Pine
On Thu, 13 Sep 2001, Jonathan B. Bayer wrote:
> -----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-----
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list