New answers tagged iptables
I'm not familiar with the commands you used to forward the ports. I'm running a Minecraft server in an Xubuntu guest OS. When I set up port forwarding I assigned my virtual machine a static IP and then made the necessary changes for port forwarding using the router's admin page (typically -- log into 192.168.1.1 but check your router user guide / manual). ...
You need to configure the firewall to allow the ports to be open More here on HowToGeek.
A port is just a number. Together with a IP address it forms a TCP address. A port is called "open" if some program listening on that TCP address for incoming connections. It's called "closed" if there isn't any such program or the kernel is filtering away network packages for this address. By default Ubuntu doesn't filter any network packages. So to open ...
To view NAT Rules use iptables -t nat -L -n -v not only iptables -L
I'm not a specialist, but I encountered a similar problem with VMWare. The ARP command on the client showed different MAC addresses, almost at random it would seem. I solved it by disabling the VMNet virtual adapters of the VMnet I was using in the host operating system. The "strange" MAC addresss was the MAC address of that virtual adapter. I can now make ...
Sometimes a port will need to be forwarded from the router (take a look at port forwarding), or perhaps port 21 is already pointing to something else on the network?
Have you try doing this iptables -D PREROUTING -d 126.96.36.199/32 -i venet0 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1194 then iptables-save or sudo sh -c "iptables-save > /etc/iptables.rules" Also do you have any program that is like ConfigServer Firewall (csf) installed that is managing your firewall? If you are new to iptables I would read ...
iptables stores the rules in memory but the ruleset created by iptables-save ruleset-name can be found in the file /var/lib/iptables/ruleset-name These can be restored by invoking iptables-restore <ruleset-name>. I can only confirm this for Ubuntu 12.04.03 LTS - maybe this location has changed in later versions of the iptables-package. I think ...
That will not work with iptables alone. The iptables works on OSI layer 3+4. You are looking for layer 7 filtering. I suggest you set up a proxy server for filtering. I can recommend Dans Guardian for web content filtering. Configure your firewall to redirect all web traffic over your web proxy (creating a transparent proxy) and then filter there. Take a ...
do you try to filter outgiong traffic? If you wand to control user access from you intranet to internet sites you must use SQUID proxy server, not firewall.
Top 50 recent answers are included