Iptables is a module that provides the Linux operating system functions of firewall, NAT and logging of data traveling over a computer network.

learn more… | top users | synonyms

0
votes
1answer
819 views

Iptables prerouting and IP forwarding

I have a linux machine used as gateway for a Win XP machine. Both are in Virtual machine for testing purpose. Now I want to trick the Win XP user (me) with the forwarding of an IP address: I want to ...
0
votes
3answers
110 views

how do i set up this firewall?

i use fedora 13, and i have firewall turned off now. but i want to allow all incoming connections and outgoing connections except to a port P. i want to allow connection to port P only from certain ...
1
vote
1answer
302 views

Is this firewall completely secure?

I'd like to know if there's any holes/flaws in this firewall setup. I want to lock down the server as much as possible so it is impossible to hack in to. The only services running are openvpn and ssh. ...
1
vote
2answers
422 views

iptables - router configuration

I have a router that I am customizing settings for. I want to only allow SSH from the internal network and drop everything else. This is what I have so far. I tried it and I had to reset my router ...
0
votes
1answer
527 views

Removing/Disabling Firewall on Linux CentOs seem to happen temporarily

I tried following the instructions in this link to disable and remove iptables firewall using commands: # service iptables save # service iptables stop # chkconfig iptables off # iptables -F # ...
1
vote
1answer
937 views

loopback error, home network

I've setup my router to forward port 80 through to my computer, so I can access it from a dyndns.org domain. The domain and the ip both seem to be totally working, externally (can access it from ...
0
votes
1answer
516 views

Quotas with iptables

pkts bytes target prot opt in out source destination 12770 2385K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 quota: 2000000 bytes 0 ...
0
votes
1answer
750 views

Internal working of rules in forward chain for NAT

I am trying to understand how exactly NAT works to solve another bigger problem, here is my linux box setup: Interface eth0 connected to internet (public IP address) eth1 connected to local network ...
0
votes
1answer
367 views

Linux box acting as wireless access point to share the internet connection

A linux machine is connected to internet over two interfaces ppp0 and ppp1 using two modems. Also this machine acts as wireless access point through an interface say, eth0 with ip address 192.168.1.1 ...
3
votes
1answer
3k views

tc / iproute2, how to list the configuration

This is my first time using traffic shaping and I am wondering how I can list the rules I applied like you can with iptables? Walter
0
votes
1answer
236 views

how do I forward *only* http proxy across vlans?

My router has two bridges, br0 and br1. I'm sharing wifi access, and the guest subnet will be 192.168.2.x. The home subnet will be 192.168.1.x. I want all traffic destined for port 80 from the ...
1
vote
1answer
2k views

DD-WRT OpenVPN client - cannot get “lan” connected device to route traffic

I have OpenVPN client setup on DD-WRT openvpn small. client connects and can use traceroute to verify everything is tunneling out the openvpn connection. ip_forward is 1. iptables -t nat -A ...
0
votes
1answer
526 views

iptables firewall rules not allowing ssh from lan to DMZ

Chain INPUT (policy ACCEPT) target prot opt source destination REJECT tcp -- anywhere anywhere tcp dpt:www reject-with tcp-reset REJECT tcp ...
0
votes
1answer
420 views

IP Tables won't save the rule

I'm using ArchLinux and I have an IP tables rule that I know works (from my other server), and it's in /etc/iptables/iptables.rules, it's the only rule set in that directory. I run, ...
1
vote
0answers
509 views

Why does my Tomato router seem to behave badly as time passes

I've set up a Firewall script on my Tomato router (a WRT54G 2.0, actually) that seems to behave correctly at start, but after one or two days, it seems that the script does not work anymore... The ...
0
votes
1answer
641 views

Ubuntu 9.04, Firestarter complaints even behind the NAT router

I'm behind a router. In router config, I blocked: all (inbound and outbound) UDP inbound ICMP Local iptables are configures with Firestarter wizard: block all incoming connections allow all ...
0
votes
1answer
145 views

no websites loading using iptables nat

I'm using a 3G modem whilst o2 tranfer over adsl. trouble is no websites load but I can resolve domains. I enabled masquerade on the PPP0 ( modem) interface. added the server as default route for all ...
2
votes
1answer
1k views

How to block access to a website on Lucid Lynx?

I am trying to block a few websites on a lucid lynx, I tried editing /etc/hosts and that blocks access via url but the site still open if I enter the ip on the browser, how can I block ip access also? ...
1
vote
2answers
420 views

Why after Accepting Ports 20 and 21 in iptables are they still closed?

I am trying to open the FTP Ports on my server. I have vsftpd installed on the server already. However I am unable to reach the server on ports 20 and 21 Somehow it is allowing me to access port 21 ...
2
votes
2answers
284 views

Logging communication between two VMs

I'm trying to set up "malware lab" described in this paper. So far, I've set up Windows guest system, adding one Host-only Network adapter, and setting this (sorry if the names aren't exactely ...
1
vote
1answer
153 views

How to setting up iptables for traffic fowarding on port 80 from specific sources

Im running a web server on port80, but i want traffic coming from ip 212.333.111.222 on port 80 to be fowarded to port 9020 on the same server that my web server is rinning at that is my sshd port
0
votes
1answer
180 views

iptables: separate clients from each other

is there a way to separate clients in a subnet so that they cannot reach each other? The infrastructure currently looks like this: 192.168.0.1/24 Gateway, a CentOS box with iptables. ...
0
votes
1answer
720 views

What do these numbers mean in the output of iptable-save?

In the output of iptables-save # Generated by iptables-save v1.3.8 on Sun Mar 14 19:42:45 2010 *filter :INPUT ACCEPT [328764:37367248] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [324693:28884726] COMMIT # ...
2
votes
2answers
1k views

linux: how to run aria2 or wget only through eth0

I have a computer under Linux with several network cards, for example: eth0, eth1, eth2, eth3. Is there some way to run any downloader, like aria2 or wget only through one interface, for example eth0? ...
0
votes
2answers
3k views

How to use FQDN in firewall rules for GNU/Linux?

I'm trying to setup a firewall for one of GNU/Linux systems. AFAIK, iptables and its ilk cannot make use of FQDNs in their configuration, since they're expected to be operational before the network ...