Mac IP:            192.168.1.30
Server IP:         192.168.1.254
Virtual Server IP: 192.168.56.100 (this is Virtualbox inside my Server)

I need to forward from

rule 1: 192.168.1.254:80 => 192.168.1.254:8066

then Virtualbox does:

rule 2: 192.168.1.254:8066 => 192.168.56.100:80 (already work)

I need only to work rule 1, but it doesn't work with ipfw:

sudo ipfw add forward 192.168.1.254,8066 ip from any to 192.168.1.254 80 in
link|improve this question
Perhaps you can explain what you're trying to achieve. What you've described is so convoluted there is probably a better way. – John Gardeniers Nov 11 '11 at 3:36
feedback

migrated from stackoverflow.com Nov 11 '11 at 2:42

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.