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
0answers
35 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
36 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
41 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
292 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
122 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
33 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
31 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
56 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
46 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
113 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
47 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
90 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
95 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
58 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
100 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
59 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
33 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
38 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
49 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
61 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
44 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
49 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
31 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
33 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
80 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
129 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
58 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
46 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
27 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
30 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
93 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
115 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
67 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
89 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
87 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
56 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
28 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
49 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
93 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 ...
0
votes
1answer
174 views

Hotspot created and connected from linux but no internet access on phone

I wanted to create a hotspot with this tutorial : How to setup an Access Point mode Wi-Fi Hotspot? Part : Whether your wireless card support Access Point mode. When i tried manually , i think it was ...
6
votes
1answer
156 views

AppArmor blocks logging set up through iptables for guest account - How to enable?

To log the internet usage (visited URLs) of my local guest account, I asked the question Monitor visited websites of guest account through any browser and after assigning the guest account the fixed ...
0
votes
1answer
144 views

How to drop packets to closed ports instead of reject?

When i connecting to closed port i'm getting 'Connection refused'. I wan't to disable sending of this response in Ubuntu 14.04. Can I do it?
0
votes
2answers
322 views

Listening on port 80 in Ubuntu

I have an Ubuntu 15.04 system with a Java webserver listening on port 3000. Iptables prerouting is setup like this: iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 ...
3
votes
2answers
183 views

Monitor visited websites of guest account through any browser

I want to know which websites/URLs are visited by users of my home computer's guest account. Is there a way to log this and save it as nicely formatted list to the disk? I only need date/time and ...
0
votes
1answer
173 views

NAT port forwarding using iptable doesn't work

I have a server with Ubuntu Server and a Xubuntu virtual machine on it, virtualization software is virt-manager. Ubuntu Server IP: 172.16.63.140 Xubuntu Virtual Machine IP: 192.168.122.4 I can do ...
4
votes
1answer
41 views

Is there an iteractive firewall extension available for Ubuntu?

Every time something on my computer tries to contact an external host or an external host tries to contact my computer I would like to be asked if I authorize this and if I would like to create a rule ...
0
votes
0answers
70 views

Redirect all incoming traffic from port 80 to spesific URL

I have a project in my Univ. It's a chat App (android). So in order to make the connection is anonymous(future work). I will try connect to my sever first(UBuntu) through port 80 then I would like to ...
0
votes
1answer
65 views

Iptables firewall rules not restoring on server restart [duplicate]

I am setting up iptables on a new instance of Ubuntu 14.04 server. So far I have: put iptables rules into a file /etc/iptables.firewall.rules created a script ...
0
votes
0answers
170 views

Ubuntu Server 14.04.3 NAT DNS Configuration

I have a Ubuntu Server 14.04.03 configured as a NAT Gateway using ISC-DHCP-Server. There are around 50 client PCs that access the internet through it, most of them running Windows. I want to use the ...