|Apr 27, 2013, 03:15 AM||#1|
redirect with ipfw to an external server
I like to install an redirect from 127.0.0.1:8080 to server_xy:80 on my mac
this works (I can see the site of my webserver on the mac):
sudo ipfw add 100 fwd 127.0.0.1,80 tcp from any to any 8080
but this doesn't works (redirect to google.de -> timeout):
sudo ipfw add 100 fwd 126.96.36.199,80 tcp from any to any 8080
Could you help me, please?
|Apr 27, 2013, 10:01 AM||#2|
I am no expert with ipfw, but it appears (from a quick read of the man page) that you will be unable to accomplish this with a fwd action to an external address.
You mentioned you have Apache running on the local machine. Why not set up Apache to answer to 127.0.0.1:8080 and redirect from there?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Mac Mini server with external RAID storage - a good file server solution?||teme||Digital Video||1||Mar 5, 2014 10:34 AM|
|ipfw configuration||meme1255||OS X||0||Dec 8, 2013 06:47 AM|
|IPFW help please.||houserhythm||OS X 10.8 Mountain Lion||3||Sep 9, 2013 03:43 PM|
|Configuring ipfw on OS X||ghostpaladin||OS X||17||Jan 25, 2013 12:53 AM|
|Mac Mini Server + USB External + Time Machine Server + Wireless Backups = Frozen||sieken||OS X||0||Jun 25, 2012 08:31 AM|
All times are GMT -5. The time now is 07:07 AM.