|Jan 20, 2010, 02:56 AM||#1|
IP-forward not working, how do i debug it?
My NAT portforward service to run a MAMP webserver:
I have setup a local static ipadress for my machine which is running a MAMP webserver. Which means i always get the following IP-adress 192.168.1.50.
MAMP works on http://192.168.1.50:8888/ but not on the portforward ipadress
ISP ( provides us with 5 static ips. )
The ISP is running a bridge mode from theire router too our Xserve.
Our xserve(mac os x server 10.6.2) then runs a DHCP service giving users a local IP adress aswell as internet connection.
Then we have the firewall which is basicly set to allow all traffic.
I have also tried to set advanced rules to specify it completly without any luck.
This is the plist file i have generated:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
I have tried to looking in different logs without any luck at all. Can anyone please push me in the right direction on how to debug this?
My /var/log/alias.log says the following over and over with different udp, tcp, sock and tot.
icmp=0, udp=48, tcp=61 pptp=0, proto=0, frag_id=0 / tot=106 (sock1)
I have also checked "sudo ipfw list" and both port 8888 and 80 is openend from any to any.
|Jan 20, 2010, 10:47 AM||#2|
If the inside server can be browsed on 8888, then the targetPortRange should be 8888, not 80 (since targetIP is the internal address).
Then if you want to browse http://77.XXX.XXX.220, then change the aliasPortRange to 80. If you want to browse http://77.XXX.XXX.220:8888, then leave aliasPortRange as 8888.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|xcode debug issue||ip.kban||Mac Programming||2||Dec 7, 2013 06:01 AM|
|MBP Debug with osciloscope||applereball||MacBook Pro||0||Dec 4, 2013 08:01 AM|
|Back and Forward Touch Gestures in Finder not working for OS X 10.9||edgr.sanchez||OS X Mavericks (10.9)||0||Oct 15, 2013 02:05 PM|
|View NSArrays while Debug'n||larswik||iPhone/iPad Programming||2||Feb 17, 2013 01:33 AM|
|Calendar debug mode - how to ?||maclab||OS X 10.8 Mountain Lion||11||Sep 16, 2012 11:35 PM|
All times are GMT -5. The time now is 05:14 AM.