Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have a problem with my port forwarding, I'm using ipchains with smoothwall linux which is at 192.168.0.1. I am trying to run a web server from my slackware box which is at 192.168.0.142 port 80. The page works from jthe 192.168.0.142 address but over the internet it only works from my school. I cant view it here because smoothwall wont let me, and other people on the internet cant view it eather but they can see that port 80 is open. I dont know why only my school can see it.
Here is the out put from ipchains:
# ipchains -L
Chain input (policy REJECT):
target prot opt source destination ports
ipac_bth all ------ anywhere anywhere n/a
ipac_in all ------ anywhere anywhere n/a
squid all ------ anywhere anywhere n/a
ACCEPT all ------ anywhere anywhere n/a
ACCEPT all ------ anywhere anywhere n/a
secin all ------ anywhere anywhere n/a
block all ------ anywhere anywhere n/a
- all ----l- anywhere anywhere n/a
Chain forward (policy REJECT):
target prot opt source destination ports
secout all ------ anywhere anywhere n/a
MASQ all ------ 192.168.0.0/24 anywhere n/a
MASQ all ------ 192.168.0.0/24 anywhere n/a
dmzholes all ------ anywhere anywhere n/a
ACCEPT all ------ anywhere 192.168.0.0/24 n/a
- all ----l- anywhere anywhere n/a
Chain output (policy ACCEPT):
target prot opt source destination ports
ipac_bth all ------ anywhere anywhere n/a
ipac_out all ------ anywhere anywhere n/a
Chain squid (1 references):
Chain secin (1 references):
target prot opt source destination ports
ACCEPT all ------ anywhere anywhere n/a
Chain secout (1 references):
target prot opt source destination ports
ACCEPT all ------ anywhere anywhere n/a
Chain block (1 references):
target prot opt source destination ports
ACCEPT tcp ------ anywhere anywhere any -> 1024:65535
ACCEPT udp ------ anywhere anywhere any -> 1024:65535
ACCEPT tcp ------ anywhere anywhere any -> 1024:65535
ACCEPT udp ------ anywhere anywhere any -> 1024:65535
xtaccess all ------ anywhere anywhere n/a
ACCEPT udp ------ anywhere anywhere any -> 500
ACCEPT 47 ------ anywhere anywhere n/a
ACCEPT ipv6-crypt------ anywhere anywhere n/a
ACCEPT ipv6-auth------ anywhere anywhere n/a
ACCEPT udp ------ anywhere anywhere any -> 500
ACCEPT 47 ------ anywhere anywhere n/a
ACCEPT ipv6-crypt------ anywhere anywhere n/a
ACCEPT ipv6-auth------ anywhere anywhere n/a
ACCEPT icmp ------ anywhere anywhere any -> any
ACCEPT icmp ------ anywhere anywhere any -> any
Chain xtaccess (1 references):
target prot opt source destination ports
ACCEPT tcp ------ anywhere anywhere any -> auth
ACCEPT tcp ------ anywhere anywhere any -> auth
ACCEPT tcp ------ anywhere anywhere any -> 222
ACCEPT tcp ------ anywhere anywhere any -> 222
ACCEPT tcp ------ anywhere anywhere any -> www
ACCEPT tcp ------ anywhere anywhere any -> www
Chain dmzholes (1 references):
Chain dmzblock (0 references):
target prot opt source destination ports
REJECT all ----l- anywhere ip0089.megapopmm.quik.com.au n/a
Chain ipac_in (1 references):
target prot opt source destination ports
- all ------ anywhere anywhere n/a
- all ------ anywhere anywhere n/a
- all ------ anywhere anywhere n/a
Chain ipac_out (1 references):
target prot opt source destination ports
- all ------ anywhere anywhere n/a
- all ------ anywhere anywhere n/a
- all ------ anywhere anywhere n/a
Chain ipac_bth (2 references):
yeah, thats why im trying to forward it from the smoothwall machine.
Internet -- Smoothwall 203.166.25.x & 192.168.0.1 -- Slackware with apache 192.168.0.142.
Sorry I'm a bit new to linux and i don't know much about ipchains. I set up through the smoothwall web admin pages the port forwarding and opend the port but it only works from my school.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.