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
7 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
35 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
9 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
22 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
29 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
14 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
29 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
23 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
31 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
22 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
25 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
35 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
50 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
70 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
24 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
38 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
42 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
70 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
16 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
30 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
132 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
66 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
58 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
117 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
744 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
42 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
30 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
29 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
56 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
50 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
50 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
39 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
63 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
29 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
37 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 ...
0
votes
1answer
41 views

Iptables HTTP not working on computer

By default I have an implicit deny so I used these two commands to try to enable http on ip address 10.1.10.201 but I cannot access any websites. sudo iptables -A INPUT -p tcp -s 10.1.10.201 --dport ...
0
votes
0answers
69 views

Cannot 'Ping' my server from client in PPTP VPN?

Recently i set up a server and a client using PPTP VPN . I can connect to the server,but cannot do anything else. I cannot Ping,SSH to the server from client and vice versa. For setting Iptables for ...
0
votes
1answer
50 views

IPtables command to block specific port for certain ip

I want to block certain services such as ftp, telnet, http for a certain ip address. What command will I execute in order to achieve this. The only command I have tried is sudo iptables -A INPUT -s ...
0
votes
1answer
119 views

Clean install of Apache but can't access it via lan client

I've been fighting this issue for a couple days now and am at whits end, so any help would be great. I have several computers in the office. One is now a Ubuntu Server that I'm setting up for a ...
0
votes
1answer
62 views

iptable rules works sometimes only

I have blocked an attacker IP that was sending me lots of UDP packets. iptables -I INPUT 1 -s IP_OF_ATTACKER -j DROP This rule was working all fine. iptables -nvL --line-numbers 22G traffic was ...
0
votes
1answer
41 views

Block all but one ip address

I need to allow access to only one IP address and block the rest, so I wrote the following: sudo iptables -F sudo iptables -A INPUT -s ipaddress -j ACCEPT sudo iptables -A INPUT -j DROP sudo iptables ...
1
vote
1answer
24 views

Options missing from iptable man page

I was looking at iptables man pages. But I did not find anything about --sport and --dport. --sport is short for --source-port --dport is short for --destination-port Why are those options ...
1
vote
0answers
8 views

Local iptables nat redirection not working [duplicate]

I'm trying to install mitmproxy. To use it as a transparent proxy, I need to enable ip forwarding and use iptables to setup nat redirection. It doesn't appear to be working. I'm able to make requests ...