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.
Sorry I dont know about UFW, i think it just interface to configure iptables (like shorewall).
In my opinion, better U uninstall UFW and use iptables only, to get you understand deeper about firewall, port forwarding, ip accounting, etc.
When you say "everything is working fine on ethernet", what do you mean? Is it that any machine on your local network can access apache, minecraft, etc?
Try to narrow the problem down. Start apache.
Verify connection on local machine. In a browser: http://localhost/ should give you apache's default page. If not, apache is not working.
Now try remote connections on the same network. Try from a different machine on your network. http://your_servers_ip_address/ If this works (apache servers up default page), then ufw/iptables is working correctly, in which case the problem is most likely to be with port forwarding on your router.
My gut feel from your iptables' output is that iptables is fine, and the problem is at your router and not your server.
I can confirm that the program's on the server are running like they should.
so portforward should be the problem then.
I did portfoward the following ports: http://screencast.com/t/h1lo2bcmm
(the ip is the right one )
it show's up when i startup, and in the dropdown is it the same. and I reserved it for that mac adress.
@ lqman:
I know, thanks for that, but I prefer understanding what I did wrong, so I don't do it another time
192.168.0.0 is a private/home network IP - many many people are using that.
you obviously need a public IP.
find out your "real outgoing IP" using whatismyip.com or similar.
but that IP will change over time.
if that bothers you, you can either book a "static IP" from your provider or use something like http://dyn.com/dns/dyndns-free/
192.168.0.0 is a private/home network IP - many many people are using that.
you obviously need a public IP. http://dyn.com/dns/dyndns-free/
No, that IP address is what outside connections are being forwarded to. Assuming his server's local IP address is 192.168.0.194, his settings are correct.
However, it does beg the question to the OP: how do your outside people know which IP address to connect to?
No, that IP address is what outside connections are being forwarded to. Assuming his server's local IP address is 192.168.0.194, his settings are correct.
However, it does beg the question to the OP: how do your outside people know which IP address to connect to?
I give them the IP from ipchicken.com, That's the one i can connect too when I'm on the same internet connection, so I'ts probably the router.
and fcours many people use the local IP adress, it's that one u should use :P
I give them the IP from ipchicken.com, That's the one i can connect too when I'm on the same internet connection, so I'ts probably the router.
Looks good. If you have a router in-between, maybe you need to open the port there as well?
You could ask somebody outside to send you a traceroute (tracert on Windows) to your IP.
Quote:
Originally Posted by cskiwi
and fcours many people use the local IP adress, it's that one u should use :P
Tracing route toFRIEND_HIS_IP.access.telenet.be [FRIEND_HIS_IP]
over a maximum of 30 hops:
1 3 ms 1 ms 1 ms vigor.lan [192.168.1.1]
2 4 ms 2 ms 2 ms 192.168.0.1
3 8 ms 8 ms 7 ms FRIEND_HIS_IP.access.telenet.be[FRIEND_HIS_IP]
4 * * 11 ms dD5E0C0E1.access.telenet.be [213.224.192.225]
5 12 ms 12 ms 40 ms dD5E0C0E6.acc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.