Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.

learn more… | top users | synonyms

0
votes
1answer
12 views

the packet flow from a network interface to a local process? help!

I'm read Linux Iptables Pocket Reference. So I do not understand the figures presented. It says that packets travel through chains, and are presented to the rules one at a time and in order. Then ...
1
vote
0answers
12 views

Forwarding traffic with IPtables through a series of IDS

My goal is to run several Intrusion Detection Systems (IDS), these IDS sensors should be positioned in sequence, so the traffic will travel through the first IDS and will generate alerts of malicious ...
-2
votes
0answers
21 views

'iptables -a' just hangs and never returns? [closed]

I'd like to redirect requests in on port 80 to a service I already have running on port 8443. I swear I've used this command before on other systems and it's worked: sudo iptables -A PREROUTING -t ...
0
votes
1answer
35 views

Ubuntu as a router for Video conference purpose [on hold]

my setup: Ubuntu 12.04 eth0 192.168.10.17 eth1 10.10.1.27 video conference mcu 192.168.10.52 configuration done: net.ipv4.ip_forward=1 oot@its-PRODiiGY-G31:~# ...
1
vote
1answer
31 views

Multiple connections per ip

I am running Ubuntu with a webserver (Nginx). I noticed that one IP has multiple connections opened. My server works all fine and there is no issue. I am just curious to know why there are many ...
-1
votes
0answers
26 views

TCP/UDP Packets Ubuntu 14.04

I am hosting a game-server on ubuntu 14.04 Can I control the UDP/TCP Packets per minute/second on port 7171? Players use a lot of packets to lag/crash my game-server and when it reach the maximum ...
0
votes
0answers
22 views

IPTables forward port to another ip:port but keeping original source ip

I have following iptables rules on gateway machine(192.168.0.1). I want to forward port 192.168.0.1:80 to 192.168.0.2:8080. But I need to maintain original source ip so that original server can get ...
0
votes
0answers
24 views

TCP IPTables Expert ubuntu 14.04

I started hosting my game-server on Ubuntu Linux 14.04 I am having an issues ، some enemies/bug abusers log in 2+ characters in the same second then they spam a certain spell/word that lags/stops my ...
0
votes
1answer
49 views

IPtables ubuntu 14.04 LTS

I am new to Linux, I used to use windows for years and this is my first time to use Linux "Ubuntu 14.04 LTS" I am hosting a game-server I was wondering if it is possible to make IPtables to kick if ...
0
votes
1answer
23 views

Connect two subnets so that they can see each other

I've got 3 machines (virtual) : A client, a server, and a destination. (All running ubuntu 14.04). The client and server are interconnected via a subnet, and have the ips 10.10.100.4 and 10.10.100.2 ...
0
votes
0answers
13 views

libiptc error on unbunt14.04

Am trying to work with iptables, using libiptc to manipulate the entries. Header looks something like this. I have iptables-dev installed on my machine. Am getting following error, but the same ...
0
votes
0answers
18 views

Forwarding UDP data between two local interfaces

I have server which has 4 eth ports: - eth0: 192.168.226.55 (Internet connection, default one default route) - eth1: 10.8.8.1 (local network) - eth2: 192.168.225.129 (Internet connection) - eth3: ...
0
votes
0answers
23 views

Internet Sharing/nat on 14.04lts vmware esx guest with usb internet

Situation: vmware esxi 5.1 Hosting a couple of Windows guests and a Ubuntu 12 file server that also is the local DHCP server and DNS server. Two NICs in the ESXI host to a small Wifi router which I ...
0
votes
1answer
41 views

Unable to connect to mongo on remote server

I have installed mongo on machine1(Ubuntu 14.04.3 LTS server) in my local network. I have also opened the port 27017 as mentioned in this guide using following commands: sudo iptables -A INPUT -p tcp ...
2
votes
1answer
73 views

Redirect port 3389 with iptables, to an IP network [closed]

I have on my network a linux server and it iptables firewall. On the same network, you have a Windows Server 2008 server. When I'm out of my network, I access the Server 2008 for RDP and this service ...
0
votes
0answers
22 views

ICMP Echo Request

This is my topology: My cloud is configured with eth0 adapter, connected to R1 port fa0/0. The R1 receives the address through DHCP Server, with it I can ping any public address.. R1#ping ...
0
votes
1answer
25 views

List active rules in Iptables

I would like to help me check the active rules in the iptables firewall. My S.O is Ubuntu Server 14.04.3 LTS Trusty.
0
votes
0answers
36 views

Does changing the hostname of 127.0.1.1 in /etc/hosts

I usually have this problem: lluis@biolinux[exercises] sudo gedit /etc/hosts sudo: unable to resolve host biolinux [sudo] password for lluis: Sudo is unable to resolve host(Because I changed my ...
0
votes
1answer
27 views

Would active connections cause this UFW Block?

I'm running ubuntu 14.04 as a gateway, routing is controlled by iptables. I'm getting a number of strange blocks in UFW which seem to effect established connections. Is there any way this block would ...
2
votes
1answer
55 views

Port forwarding between bridged interfaces

So I have a bunch of bridge interfaces bound with my main ethernet device (em1, blame HP). These serve various LXC containers I have running on my server and easily allows me to access them from other ...
0
votes
1answer
45 views

Iptables and Deny issue

I've configured iptables with FWBuilder, and for some reason there is a rule that is constantly dropped, and I don't know why, because all the address IP from and to 10.208.x.x (first server) and ...
0
votes
1answer
50 views

IP forwarding over OpenVPN (tun0) with external forwarded ports

I am trying to configure a very basic routing setup with Ubuntu Server 15.04. I have an internal interface p4p1 (IP 192.168.0.23) and a working OpenVPN connection using tun0. I want to forward all ...
0
votes
0answers
55 views

Server setup problems, am I missing something obvious?

So I've set up Ubuntu 14.04 as a LAMP. I've got it set up to do three things so far, all work fine over LAN. 1) Network printing. 2) Host a small webpage. 3) Act as a minecraft server. I've ran a ...
0
votes
1answer
33 views

How to setup VPN bridge between 2 networks

I have a small ubuntu box which I want to use to bridge 2 networks together over VPN. One network is in the 192.168.2.0/24 range. The other network is in the 192.168.93/24 range. Said ubuntu box is ...
1
vote
2answers
40 views

Forward port from 80 to 9000 not working

I'm trying to host an app on Ubuntu 14.04 and want to redirect traffic from 80 to 9000. sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 9000 -j ACCEPT sudo ...
0
votes
1answer
39 views

Do I need iptables if only two ports are open to the public?

For a special task I have a root server running Linux Ubuntu 14.04. The server has a very minimalistic installation with ssh on a non-standard port and no root access. Basically the servers primary ...
0
votes
0answers
21 views

Unable to recieve UDP packets

I have a program which sends UDP packets to a specific port (eg: 53023) at localhost. I have written another program using Qt 4.8 which tries to receive the packets from this port at localhost. ...
0
votes
0answers
24 views

IP tables routing connected teamspeak clients

On a hosted ubuntu server VPS I host a teamspeak server. Is there anyway to use IPTables to force a connected client to join a different server by forwarding them to the IP? For example Teamspeak ...
3
votes
0answers
40 views

Why are NAT&Kernel IP Forwarding not working?

I'm trying to forward all traffic from tun0 to eth0,below is my interfaces: eth0 Link encap:Ethernet HWaddr 12:57:6e:6a:74:85 inet addr:172.31.32.133 Bcast:172.31.47.255 ...
0
votes
2answers
38 views

Do I need iptables or ufw if I have gufw?

On my Ubuntu computer I have Iptables,ufw and gufw installed on it but I am trying to figure out if I need to remove one so I did a experiment and removed iptables and I saw ufw and gufw was removed ...
0
votes
2answers
37 views

Why does Ubuntu comes with two firewalls by default?

I just realised Ubuntu comes with two firewalls by default iptables and ufw. But why? I mean running more than one software firewall on one computer can be insecure, that's what they say. I don't ...
0
votes
0answers
26 views

Tc filter show not working when classified with tc filter … basic command

We have configured the tc filters with the below rules. But when we try tc filter show dev eth1 its not displaying any of the rules. tc filter add dev eth1 parent 1:0 basic match 'meta(vlan mask ...
0
votes
0answers
29 views

External connections to website are blocked

I have a fresh install of Ubuntu server and am just trying to host a website on port 9999. My router is correctly forwarding the port to the hosting machine and I have set ufw to allow TCP on port ...
0
votes
0answers
28 views

Is there a tool to change both source and destination IP addresses at the same time?

I can't use IP tables, in a way that I know of, because of how/when it changes destination and source IP addresses. Destination IP is changed in pre-routing and source is changed in post-routing. The ...
3
votes
1answer
53 views

configure iptables to redirect traffic to a specific IP address

I have just began using iptables. I have a server with a public ip address (A.A.A.A) wich is hosting a Virtual Machine (B.B.B.B) on local network. I want to redirect all inbound traffic on the port ...
0
votes
2answers
55 views

Route traffic beetween LAN / WAN interface

we use an internal little server with a dhcpd service (pxe system). The server has two nic's: - LAN (PXE) - WAN (uplink of remaining company lan / network) WAN NIC is auto configured by DHCP server. ...
2
votes
1answer
38 views

how to remove squid to work as nat that already configured in ubuntu?

I'm running squid3 in my Ubuntu 14.04 and tried remote proxy use for study purposes . When I try remote access with another computer in the University LAN, I encounter empty cache log. So I have tried ...
1
vote
1answer
32 views

How to prevent net scan?

i have major issues with server provider due to net scan on local IP, sometimes on public ips too. how can i prevent this and/ or identify the user ?
0
votes
1answer
30 views

Find outr which IPs are from program and which IPs are from addons

I have a program (that legitimately calls authors) and plug-ins that also call authors (not so legitimately). I want to run the vanilla version of a program and collect IPs it is trying to connect. ...
0
votes
0answers
20 views

How to properly bridge NIC1 and NIC2 for MAAS with full access?

I have seen numerous postings about bridging, and using various other means and most of the posts ends with 'I got it'. I haven't got it. For one of my old posts I had used a router on one NIC that ...
1
vote
0answers
15 views

Resolve domain names to IP's based on physical adapter

System Configuration eth0 NIC to the LAN/WAN/Internet (working, don't want to mess with it) eth1 NIC eth2 NIC Objectives Assign a static IP to eth1 and eth2 and assign IPs (DHCP) on separate ...
-1
votes
2answers
57 views

In the iptables i have a rule for ssh, why doesn't it work?

I have changed all the iptables chains to DROP, and made a rule to allow ssh from the computer (10.21.0.40, have hidden NAT, eth1) to Ubuntu Server (172.16.21.1, static ip, eth0), here is the rule: ...
0
votes
0answers
53 views

How to configure Ubuntu 14.04 server as router for WiFi?

I'm a student learning networking and working on my college project. We need provide the wifi to students We have one system with two Ethernet ports We have one TP-Link access point (Wifi moderm) ...
0
votes
0answers
31 views

cannot load ipp2p

i've tried to install the xtables-common-addon but when i try to load the ipp2p rules to firewall, iptables doesn't seem to understand the commands. It returns an error. do you know a workaround ...
0
votes
1answer
60 views

iptables block port from local network

I have a problem inside my infrastructure. chat.example.com port 8185 is reachable outside my infrastructure with a port fowarding to the right box. But inside my infrastructure, i'm not able to reach ...
2
votes
1answer
60 views

Does any new version of iptables support 64bit mark target?

I'm using iptables v1.4.21, which doesn't accept 64 bit mark targets. Is there a newer version that is supposed to support 64 bit marks? Edit: $ uname -a Linux sindhu 3.19.0-28-generic #30-Ubuntu ...
0
votes
0answers
36 views

Log of refused connections by iptables

I suspect iptables to refuse some connection attempts I do on some ports. How to view the log of connections refused by iptables? I use iptables on Kubuntu 14.04 LTS x64. sudo iptables -v -x -n -L ...
0
votes
0answers
19 views

Web server not accessable from outside gateway

I trying to setup a web server using Virtual Box and Ubuntu Server. I've got the web server to access the Internet from behind a gateway (virtual box machine running Ubuntu server) but are unable to ...
0
votes
1answer
34 views

Hamachi is able to ignore firewall

Hello I recently installed Hamachi and Haguichi. I created a network and my friend joined. So I hosted a game and the port was 1100, I think, but the problem is that he was able to join althrough I ...
0
votes
0answers
57 views

Access device behind NAT via public IP

For past several days I am trying to set up configuration that would allow me to access an IP camera that is connected to the Ubuntu device behind NAT router. My idea is to create reverse SSH tunnel ...