ipfw port forwarding

LuKreme kremels at kreme.com
Sun Dec 9 19:00:18 PST 2007


On 9-Dec-2007, at 19:54, LuKreme wrote:
> # ipfw add 1000 forward localhost,800 tcp from any to 10.0.2.7 via en0


Hate replying to myself, but when I did something similar to this, the  
machine lost all connectivity to the net:

# ipfw add 1000 fwd localhost,6001 tcp from any to 192.168.3.2 via en1

(all I wanted was port 6001 to be forwarded through directly to the PC  
on 192.168.3.2)

-- 
Not that I condone fascism, or any -ism for that matter. -Ism's in my  
opinion are not good. A person should not believe in an -ism, he  
should believe in himself. I quote John Lennon, "I don't believe in  
The Beatles, I just believe in me." Good point there. After all, he  
was the walrus. I could be the walrus and I'd still have to bum rides  
off of people.



More information about the MacOSX-admin mailing list