| PLEX86 | ||
|
masquarading with eth0:1postfix+spambuttbuttin help Hi everyone, I am having some trouble getting postfix and spambuttbuttin working together. Spambuttbuttin is working well... fragmenting file systems You could I suppose take a 'brute force' approach also. Clumsy but should work on most any file system: start with blank FS write it full of say 10MB numbered files. remove every other one... Hello i am trying to share internet between a linux box and a windows xp box. The linux box only has one network card, but i gave it two interfaces: (internet) eth0 inet addr:10.0.3.71 Bcast:10.0.3.255 Mask:255.255.255.0 (lan) eth0:1 inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0 and the windows xp box has the ip address 192.168 plus 1.3.5.2 I found a site that tells people how to share their internet, but they use 2 network cards in the linux box, eth0 and eth1. And I only have one. This is what I did: Edited thisetc-sysctl.conf: net.ipv4.ipforward = 1 And then from the command line: service network restart service iptables stop service iptables save iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A FORWARD -i eth0 -o eth0:1 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0:1 -o eth0 -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE But when I do thoes last few lines I get the warning: Warning: weird character in interface `eth0:1' (No aliases, :, ! or *) I have tried replacing eth0:1 with my IP address (192.168.5.1), and then with the windows ip address (192.168.5.2). None of these work. However, each machine can ping the other. How can I get this to work with only one network card in the linux box? Thanks Zach
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||