Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: foxof on September 02, 2006, 04:06:23 AM
-
Dear,
I want to use the port forward function of SME7 (internal IP:192.168.1.254) in the SERVER-MANAGER page, I forward the port 8080 to my internal ip 192.168.1.2 port 80
I test in local area network:
when I tried access http://192.168.1.2 in IE, it success to visit the page.
when I tried access http://192.168.1.254:8080, page cannot be found.
May I know anything I missed in the setting?
Also where can I config the firewall setting of SME 7.
Thank you
Fox
-
I test in local area network:
You cannot test port forwarding from the local network.
-
I test in local area network:
You cannot test port forwarding from the local network.
Thank you for your reply, then try to connect outside our local network, but still don't work when I use IE to brower the 8080 port of my domain
Any way I can check for my problem?
Also anyone know where is the record of the iptable?
I try to list out the iptable rule [iptables -L], but I cannot find the rule of port forward, thank you
-
# iptables -L -t nat
will display the iptables information on forwarded ports.
You might also want to try
# nmap localhost
to see if you have any services on the SME box that already use port 8080 - this would conflict with your port forward rule.
-
# iptables -L -t nat
will display the iptables information on forwarded ports.
You might also want to try
# nmap localhost
to see if you have any services on the SME box that already use port 8080 - this would conflict with your port forward rule.
Yes, when I iptable -L -t nat, the port forward shown as below:
Chain PortForwarding_6483 (1 references)
target prot opt source destination
DNAT tcp -- anywhere anywhere tcp dpt:5000 to:192.168.1.2:80
and port 5000 is not used byother service.
-
Try rebooting.
-
Try rebooting.
Thank you Jfarshman, yes, I always forget to reboot the server, hehe.
But this time, the problem cannot be solved :cry:
-
The server does not need rebooting. This is not Windows :lol:
What does the Port Forwarding panel in the server-manager show?
From the console do
config show masq
and post the results here.
Jon
-
The server does not need rebooting. This is not Windows :lol:
What does the Port Forwarding panel in the server-manager show?
From the console do
config show masq
and post the results here.
Jon
That why I always not reboot the linux machine ^_^.
on the SME, the results is:
[root@sme ~]# config show masq
masq=service
DenylogTarget=drop
Logging=most
Stealth=no
TCPForwards=5000,192.168.1.2:80
TCPMinimizeDelay=22
Trace=disabled
UDPForwards=
pptp=yes
status=enabled
[root@sme ~]#
In addition, here is the information from the machine 192.168.1.2:
[root@foxnet ~]# iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
[root@foxnet ~]#
Thank you
-
Ok,
Are you sure that in the Port Forwarding panel on the SME that it shows port 8080 is forwarded to 192.168.1.2:80 and not that port 5000 is forwarded to 192.168.1.2:80
Delete the Port Forwarding you have set up and set it up again and do a
config show masq
and post result
-
Ok,
Are you sure that in the Port Forwarding panel on the SME that it shows port 8080 is forwarded to 192.168.1.2:80 and not that port 5000 is forwarded to 192.168.1.2:80
Delete the Port Forwarding you have set up and set it up again and do a
config show masq
and post result
Sorry man, since sometime 8080 is the default port for Tomcat, I am afraid that may have some affect on it (of course not, since I checked that 8080 is not in used), so I change the port forward port to 5000, sorry.