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

1
vote
1answer
6 views

Wine slow to start when blocked access to network through iptables

I've got a separate user for running untrusted applications in wine and it was relieved from accessing network at all by using # iptables -A OUTPUT -p all -m owner --uid-owner username -j DROP Now, ...
0
votes
0answers
19 views

Ip Forwarding between wlan0 <=> eth0: works in Terminal, fail in Browser?

I enabled ip-forwarding between my interfaces wlan0 and eth0 : in /etc/sysctl.conf sh "echo 1 > proc/etc..." 3 iptables rules. IpTables rules: sudo iptables -t nat -A POSTROUTING -o eth0 ...
0
votes
0answers
34 views

ufw won't allow connections to port 5432

I've installed Postgresql 9.4 on Ubuntu Trusty from the PGDG ppa. I've created a database and set it listen-address to '*'. I've made an entry in the pg_hba.conf file. I can connect locally with no ...
0
votes
1answer
20 views

iptables set-mark doesn't work

My machine has two network interfaces, one is wired (eth0) and the other one is wireless (wlan0). The wired one cannot connect to any external NTP server because there is a firewall outside. The ...
0
votes
0answers
6 views

IPForward fail with wlan0 AP + eth0 WWW

I did it: wlan0: Wifi AP (Dhcp) eth0: Internet access I can verify the WWW is joinable by eth0. Clients can connect to Wlan0 AP. It works well if I redirect all traffic to localhost with ...
0
votes
0answers
10 views

Ubuntu 14.04 showing port 80 as filtered

I am having a problem connecting my ubuntu 14.04 machine to the Internet. The machine was working fine and suddenly stopped working. I can ssh into the machine using ssh gateway but I can't ping the ...
0
votes
0answers
20 views

How to perform NAT to DDNS provided ip address using iptables

I have a device connected to the internet via a 3G Cellular link. I can't get a valid static IP address for my connection due to the network operator rules. On the server side, the application which ...
0
votes
0answers
9 views

iptables/netfilter radius plugin

I'm looking for a way to dynamically limit bandwidth inside my docker containers according Radius attributes. I'm concidering several ways to approach: 1. Write a python script which will periodically ...
0
votes
0answers
18 views

NAT timeout on particular websites. It feels like sites that contain re-direction for content in particular

Problem Statement: Desktop connected to LAN and WLAN encounter WWW web timeout on specific web sites. This is Very consistent. This occurs on Windows with Chrome and IE. It also happens on the ...
0
votes
1answer
38 views

Why cannot allow/deny specific software in ufw Linux?

Why cannot allow specific software (like Firefox) to use internet but deny other software (link Chrome) that are using same port in ufw? In windows there is the feature, why ufw don't have that?
0
votes
0answers
10 views

How to configure in hamachi forwarding between ham0 and eth0?

I have 2 computers with Windows and Ubuntu. Hamachi is on both of them. From windows i can ping ubuntu computer using hamachi ip, but from Ubuntu i can't. I tried to configure forwarding between ham0 ...
0
votes
0answers
26 views

How to MAC-Nat in Openflow/Openvswitch?

I got one simple Question as in the Title ... how can i achieve a MAC-Address-Translation in OpenFlow? I need to capture DHCP Packets that are destinated for the MAC of the public interface and give ...
0
votes
0answers
33 views

ping localhost: socket: Permission denied

I messed something up and pinging any hostname gives me "unknown host", and pinging localhost or 127.0.0.1 gives me "socket: Permission denied", even on root. Connecting to the machine (ssh/openvpn) ...
0
votes
1answer
17 views

ufw not working in an lxc container

I've created an LXC container on Ubuntu Server 14.04.1 using the default template. I log into it, and run the following: sudo apt-get update sudo apt-get install ufw sudo ufw allow 22 At this ...
0
votes
3answers
35 views

Port Forwarding from domain1.com:25565 to 40000 and from domain2.com:25565 to 30000

I have a Server running on port 30.000 and port 40.000 and if someone acess domain1.com:25565 he should connect to the local port 40.000 and if he connects over domain2.com:25565 he should connect ...
0
votes
1answer
33 views

port forwarding to Arduino device on home network

I have a home server running Kubuntu 14.04. It serves a web page to the outside world and provides internet access to all devices on my home LAN. I have an Arduino device with a web server application ...
-1
votes
0answers
26 views

My SSH between laptop and server works in localhost, but not remote

I know that this is a common issue, and ive seen alot of posts about it and read alot, but i think alot of the articles and guides assume that the remote connection will work just as easy as the ...
0
votes
1answer
52 views

Too many connections and iptables is not working to limit connections per ip

I have a dedicated server with 32GB RAM. It works all fine till some punters came to ddos my server. I had really high uplink bandwidth usage (over 150Mbps). I looked at netstat with the following ...
1
vote
0answers
24 views

Ubuntu machines cannot connect to each other on the same network

I'm having trouble with Ubuntu machines not cooperating on my home network. The network structure is VERY simple. It's simply two Ubuntu machines (one running XBMCbuntu on 14.04, the other Ubunutu ...
1
vote
1answer
26 views

Return to default iptables behavior after activating ip forwarding with hostapd

I followed this tutorial on how to create a wifi network with hostapd, assign IP addresses, and forward connections to another network interface. I have not yet set up the IP forwarding yet, because I ...
0
votes
1answer
53 views

Send all the traffic within a subnet through a machine

I'm running an experiment and I need to send the traffic of all machines in a subnet through a specific machine (in order to monitor all the traffic, kind of man in the middle) .. Let's say I have 3 ...
1
vote
1answer
58 views

Port forwarding with UFW

I realize UFW is mainly just for enabling/disabling access on particular ports, but I'm trying to forward one port to another. I want any connection to port 1724 to be forwarded to 1723. The file ...
0
votes
0answers
85 views

How to use redsocks to redirect all internet traffic to ssh tunnel?

I have an OpenWrt router with the IP of 192.168.1.1 and I wanna redirect all the internet traffic to my ssh tunnel, this is the ssh command that I use: ssh -o "ProxyCommand corkscrew 127.0.0.1 3339 ...
0
votes
1answer
30 views

IPTables/UFW not allowing incoming connection

I have two Ubuntu 14.04 virtual servers. One has IPTables/UFW on and enabled. It also has Vesta Control Panel installed. The other server is running some gaming servers, it does not have iptables ...
0
votes
0answers
18 views

Change IP Tables via a website on a different server

Just wondering if there is a way to change IP Tables via another server. My plan is to make a service that only members of a forum can access via inputting their ip into a field and then some how ...
2
votes
1answer
43 views

How to configure iptables file to allow only specific ipaddress on all port and deny all other ipaddress?

I require a configuration of iptables file which will allow me connection through only specific ip-address say 10.0.0.1 on all port ranging from 0-5555 and deny all other ip-addresses? I have tried ...
0
votes
0answers
45 views

Open NAT Port on Libvirt Virtual Machine

I am currently running a Xen Hypervisor underneath Ubuntu 14.04 Desktop. On the host machine I am running a guest VM for Windows 8. From what I understand, In order to be able to receive incoming ...
0
votes
0answers
73 views

Port Forwarding with Virt Manager

I am running a Xen hypervisor on top of Ubuntu 14.04 desktop. One of my Xen connections is to a Windows 8 VM hosted on the local machine. I connect to the VM with Virt Manager. I would like to be ...
0
votes
1answer
17 views

Ubuntu noob, problem with IP masquerading; “Error saving the document ufw”?

I'm a noob and I'm used to the limited version of Ubuntu offered on TAILS, never did anything really technical with it, so i'm a complete noob here. I installed Ubuntu on my laptop. I have an UFW ...
1
vote
1answer
29 views

Packet redirection based upon traffic type

Overview : Is there anything like ufw or iptables that will accept a packet on a port, but then redirect that packet locally depending on the type of packet it is? More info : I have a web server ...
1
vote
0answers
35 views

14.04 LTS / Routing with 2 WAN Lines … on Dom-0 Xen host drives me nuts

Short note: Well I think I might have a solution but need to prove it first. Regarding the NAT on the Hardwarerouters to each WAN-line seem just to do NAT for its own subnet, so I will simply need ...
0
votes
2answers
32 views

Setup iptable with preventing ab -n 100000 -c 1000

I would like to setup basic firewall rules with iptables. The goal is to reject flood requests per IP. Like "ab -n 100000 -c 1000 " There are only 2 rules: iptables -A INPUT -p tcp --dport 80 -i ...
0
votes
1answer
152 views

Open a port on Ubuntu 14.04

I have seen similar threads, but they didn't help me. I am using Ubuntu 14.04.2 LTS (GNU/Linux 2.6.32-042stab108.5 x86_64) on my VPS. I ran a node.js application on port 9000, but this port is ...
1
vote
1answer
46 views

IP forwarding Ubuntu

For my work we have a testing space with a Ubuntu server which is also a router. Yesterday we placed a new in the rack and our meaning was to make it a webserver which is accessible from the internet. ...
1
vote
0answers
72 views

how to block torrent traffic on ubuntu server?

I want to block all P2P (including bittorrent) traffic going through my Ubuntu Server. I have tried : Blocking certain strings, but it's not effective or user friendly Blocking IPs that resolve to ...
2
votes
2answers
62 views

How to find out where iptables rules come from?

I used to have my own set of iptables rules on my Ubuntu 14.04 LTS installation. This was residing in /etc/network/if-pre-up.d/iptables. Now, apparently after another apt-get dist-upgrade it looks ...
0
votes
2answers
152 views

Open port 80 on Ubuntu server

I'm just starting out in ubuntu/linux, and have some trouble opening port 80 for incoming connections. I ran the sudo ufw allow80/tcp command, and when I run sudo ufw status the result looks like ...
1
vote
1answer
799 views

Crashplan on headless Ubuntu 14.04 - remote GUI not working

I'm having issues getting Crashplan remote GUI working correctly on my headless Ubuntu 14.04 servers. This is what I've tried so far; Followed this guide to produce a SSH tunnel - ...
1
vote
0answers
44 views

Conntrack: How to track connection in one direction

I have the following iptables rule. iptables -A POSTROUTING -o vEth0 -j MASQUERADE I want conntrack to to track connections that are going out of vEth0. And with the above rule I'm able to do that. ...
1
vote
0answers
31 views

server cs1.6 vps amazon ubuntu dont work

I have a problem with my amazon Ubuntu VPS. I tried to open cs1.6 server. I opened a port 27015 :iptables -I INPUT -p udp --dport 27015 -j ACCEPT and it's done. I put this command in putty : ...
0
votes
0answers
33 views

IP PORT forward request through VPN

I premise I'm not a network expert, so please don't blame me if I'm going to write something fool. I applied the instructions here: IP/PORT forward requests to another server to make the same ...
0
votes
0answers
61 views

Webmin Linux Firewall NAT and Packet Filtering

Can someone explain to me the difference between these two? Like in NAT and Packet Filtering there are rules for both incoming and outgoing packets. I do not really understand their differences. What ...
0
votes
0answers
54 views

Setup router, iptables to access website via Domain Name in local network problem

I have a problem with iptables / bind9. Topology: My local PC: DNS set to: 88.220.77.193 VirtualBox with: ROUTER: eth0 : 88.220.77.193 255.255.255.0 to the Internet; eth1 : 192.168.100.254 ...
0
votes
1answer
54 views

Ip forwarding to another subnet

Right now i am working on testing a MAAS setup (physical hardware). I have deployed juju and can access it within the network (10.0.3.0). I have two interfaces eth0, internet facing, eth1 where ...
0
votes
0answers
40 views

Route packets between 3 subnets (nics) on same server

I have 3 subnets on my one server which acts as the router/gateway (10.1.10.0, 172.16.1.0, 172.16.2.0). All three subnets are assigned to their own NICs on the server. eth0 (10.x.x.x) is my ...
0
votes
1answer
67 views

Packets getting dropped after clearing rp_filter

I see certain packets in tcpdump and not able to trace whats happening to them. I did set rp_filter to 0 and log_martians to 1 on all interfaces. I enabled traces in iptables as well. root@sindhu# ...
0
votes
0answers
30 views

Iptable rules filtering from ip address to interface

By default I have an implicit deny on my ubuntu firewall but I want to make the ip address 10.1.10.201 have a few privileges. I want it to have ssh and telnet capabilities to contact the external ...
1
vote
0answers
39 views

regenerate iptables from “iptables -L”after disk failure

My system disk failed catastrophically. I've replaced and mostly restored the OS on a new disk but all I have for my iptables is the output from iptables -L. Is there a way to automatically recreate ...
0
votes
1answer
26 views

VPN server on ubuntu enabling NAT problem! please help

Hi I am trying to Create a vpn server on a vps which is running ubuntu percise 12.04. I have already installed pptpd and I have enabled ip forwarding but when I try to enable NAT with this command : ...
0
votes
1answer
45 views

Iptable ordering of commands

When adding a new rule in iptable I want it to be the first command to be executed, which means it will go on top of the rules list. What do I have to add in the command to change its position on the ...