1
vote
0answers
182 views

ubuntu 14.04 default firewall rules

I would like to know exactly which scripts are responsible for default iptables rules (no ufw, no gufw) in Ubuntu Server 14.04. After fresh installation even with ufw disabled (by default) there are ...
0
votes
2answers
18 views

How do I with ufw deny all outgoing ports excepting the ones I need?

I did the following: ufw default deny outgoing, sudo ufw allow out 80 which I thought would let me use the Internet but didn't can y'all help? Also are there any other ports used by Ubuntu for which ...
0
votes
1answer
14 views

Ubuntu forward ports, default state, forwarding not working?

im running ubuntu 12.04.4 server. I been googling the nett for answers, but could not find any.. I would like accsess a few web-gui's on my server. I have forwarder the ports in my router, worked when ...
0
votes
1answer
66 views

Iptables and bind9 to forward to google's dns

Hello i have a very hard time on getting along with iptables and bind9 as my internal network dns server. It's configured to forward my queries to google's dns (8.8.8.8). The main problem is i can't ...
0
votes
0answers
25 views

Need help to make this file work in iptables

I came across the following example of how to use iptables to block internet access when the VPN connection is terminated abruptly: iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ...
0
votes
1answer
32 views

enable port 9696 on ubuntu server

I am using ubuntu server lts 12.04 on vmware virtual machine. I need to enable port 9696 which is blocked or filtered. When i use the nc -v -w 1 localhost -z 9696 command it shows me the following ...
0
votes
0answers
45 views

Port won't open!

I have a server that want to allow connections into it through port 25565, but when I test on http://www.yougetsignal.com/tools/open-ports/ it says they are closed? I have no outfacing interface ...
0
votes
0answers
50 views

how to set up iptables for dyndns server?

I have a server running with a dhcp public IP and ddclient updating my hostname from my public IP whenever it changes. My ISP has a feature for dyndns, so my router should automatically map my public ...
0
votes
0answers
46 views

Iptables help with server on 12.04?

I am trying to create a Minecraft server with port 25565 for me and my friends to access. I used to run one on my mac, where I would change the config for my firewall to allow connections through ...
0
votes
0answers
114 views

How to log firewall logs to a remote Syslog server

After much reading and unsucessful attempts, I do not manage to send some of my firewall logs to a remote server. Here is my setup: The remote server is a synology NAS, on which the syslog server ...
0
votes
2answers
61 views

Where did I fail with my basic iptables setup?

I installed iptables on a VPS (Virtual Private Server from openVZ) - Linux 2.6.32-24-pve #1 SMP Fri Sep 13 07:29:30 CEST 2013 i686 GNU/Linux. I also installed: apt-get install iptables-persistent ...
0
votes
1answer
53 views

UFW locks me out of server everytime I run it

Background: I'm setting up a new 12.04 instance on a VPS with a new provider.The VPS provider only offers a 32bit image but that really shouldn't matter here. I have no local access to the machine and ...
0
votes
0answers
120 views

Configure iptables for L2TP/IPSec VPN

I've been trying to get my server running a VPN so that I can connect to blocked sites in China while I'm traveling, but am having a few problems with iptables. My connection works fine if I flush my ...
0
votes
1answer
127 views

UFW not blocking connections to docker instance

I have a webservice running inside a docker instance which was run using the following command: sudo docker run -d -p 4040:4040 .... My UFW rules look like this: ~ sudo ufw status Status: active ...
0
votes
0answers
225 views

Minecraft Spigot Server BungeeCord and Iptables Help

I have had a BungeeCord server set up before and I know how it works. The problem I am having is with my iptables configuration. These are my iptables rules: #!/bin/sh #INPUT iptables -P INPUT DROP ...
1
vote
1answer
183 views

how do you create an app profile for ufw?

Ufw has a command that lists out profiles to which you can further explore their profile definitions $ ufw app list And $ ufw app PROFILE {app profile title} I was wondering how you can ...
1
vote
2answers
1k views

Help! My server has been hacked - .IptabLes and .IptabLex in /boot [closed]

I'm running a Ubuntu 6.06 dapper server and it has been hacked. I'll admit up front here that I'm a programmer and not a system administrator so even though I've worked with Unix/Linux for years my ...
1
vote
0answers
66 views

Allow users to access specified IPs only

I have a computer that offers both a VPN and a SSH server running three (separated) VPN networks. All users log into the server via ssh. However, I want that only certain users can communicate to ...
2
votes
2answers
152 views

UFW and firewall

So I recently installed ubuntu and I have been working with it no problem.While browsing through the security guides (specifically: https://wiki.ubuntu.com/BasicSecurity) I noticed this: "enable the ...
0
votes
1answer
97 views

OpenBSD Packet Filter firewall in Ubuntu

Is there a way to use OpenBSD's Packet Filter firewall in Ubuntu?
2
votes
1answer
192 views

I can not connect on ubutu service port 3050, from my network

I have the Firebird service running on my ubuntu server and it is working fine inside the server. But when I try to use from another machine it does not work. Like a firewall issue. I did make some ...
0
votes
1answer
77 views

Ubuntu VPS > restrict openerp for some user

In Ubuntu VPS server, openerp is running and anyone can using this web interface. my vps server is: http:// <Public IP>:8069/. I want to allow some mac addresses and restrict to all. Here is ...
0
votes
0answers
101 views

how to proxy to a VPN connected server with local services running?

I'm having trouble accessing services that are running on my Linux Box from outside the local network. The setup is not as simple as most tutorials describe so I'm a bit stuck. My Linux Box (running ...
0
votes
0answers
44 views

UFW problem : can not access certain pages

Hello, I configured iptables using ufw to deny traffic from and to anywhere except my chosen ports. This is my /lib/ufw/user.rules : *filter :ufw-user-input - [0:0] :ufw-user-output - [0:0] ...
0
votes
1answer
31 views

Trouble saving iptables

I am having some issues with removing an iptable entry I have entered. I added -A PREROUTING -d 95.211.213.149/32 -i venet0 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1194 To experiment ...
2
votes
1answer
4k views

Where are iptables's rulesets stored on Ubuntu 12.04?

Ubuntu 12.04 LTS - iptables v1.4.12 TLDR: Where are iptables's rulesets saved when invoking iptables-save <ruleset-name> ? Explanation: According to this answer basic way of saving ...
0
votes
0answers
230 views

Foraward Traffic from local machine to proxy server using iptables

I am using Ubuntu Server 12.04. My IP is 192.168.4.160. I want to route the HTTP traffic generated locally from my system destined to a particular URL (say x.x.x.x) to pass through proxy server. My ...
0
votes
1answer
549 views

Can't delete an iptables chain

I'm having a problem on deleting a user-defined chain. these the are rules I entered. sudo iptables -t mangle -N internet sudo iptables -t mangle -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j ...
0
votes
1answer
53 views

after software update, website not accessible

I just applied a bunch of recommended updates this morning (which seems to have upgraded the kernel to 3.8.0-32.47), and suddenly I cannot connect to the machine on port 80 (http) or 22 (ssh). Ping ...
1
vote
0answers
872 views

Ubuntu 12.04 LTS - vsftpd problem. No connection. Connection refused

i have a problem with vsftpd server running on Ubuntu 12.04 LTS. Here is the configuration: ubuntu Server address - 192.168.5.100 router address - 192.168.5.1 roger/# grep -v "#" /etc/vsftpd.conf ...
0
votes
0answers
64 views

Beginner Help Configuring Iptables

I have just started to configure iptables and I am wondering what basic rules you would recommend that I use for the things that I need. Here is what I am doing: I want my default policies for ...
0
votes
0answers
195 views

Configure Firewall to use SSH Tunnel Through Port 80

I am having some issues configuring iptables to use SSH Tunneling through port 80. Here are my iptables rules. :INPUT DROP :FORWARD DROP :OUTPUT DROP -A INPUT -m state --state RELATED,ESTABLISHED -j ...
0
votes
0answers
53 views

Help Configuring Iptables Rules

So I am accessing my server remotely using PuTTy. I am using port 80 for SSH because port 22 is blocked at my school. I successfully configured Iptables to accept port 80 and I dropped all other ...
0
votes
1answer
319 views

What's the difference between -p tcp and -m tcp in iptables?

I just noticed an entry in /etc/sysconfig/iptables along the lines of -A INPUT -p tcp -m tcp --dport 138 -j DROP I am not so sure why there has to be two switches here for matching protocol TCP, ...
0
votes
1answer
4k views

How can I allow ssh connection from an IP subnet on port 10022 using iptables?

I need to set up a server with public IP for bandwidth testing, and I already have a script to drop all incoming traffic except for the ports I need. I have changed the ssh port from default (22) to ...
1
vote
1answer
275 views

Understanding Iptables

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 7000:7010 -j ACCEPT I trying to understand the -m state --state NEW part. Searching through the man pages and correct me if I am wrong ...
0
votes
0answers
854 views

squid with ubuntu server, iptables explanation

To begin with, I'm a linux newb. I have setup a squid proxy on my home network and it is working fine. I went through couple of tutorials to get this working. My setup is: Internet->Modem->Router-My ...
0
votes
1answer
96 views

iptables forwarding rule

I entered the following rule into my iptables: sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-ports 1337 and then when I went to remove it, I couldn't find it ...
0
votes
1answer
592 views

Connecting to NAT virtualbox guest from bridged network

I've setup a Virtualbox Ubuntu 12.04 server using Vagrant. I can ssh to it and even ping my desktop from it. What doesn't work is to ping the guest OS from my desktop. I've tried to flush the ...
4
votes
1answer
496 views

Why ufw is blocking my outgoing traffic?

Here is my status: $ sudo ufw status verbose Status: active Logging: on (medium) Default: deny (incoming), allow (outgoing) New profiles: skip To Action From -- ...
0
votes
0answers
443 views

Squid proxy server and outlook reception

I have a problem with the mail reception/sending with outlook where a proxy server is used in my network, and that is my configuration: Clients uses Windows and then Outlook to send and receive ...
2
votes
0answers
132 views

How do we allow a certain mac address in a FORWARD chain through iptables?

I set the iptables rules in default. # IPTABLES IN DEFAULT iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP How will allow a certain mac address in a forward chain? I ...
2
votes
0answers
752 views

IPTABLES > MAC Filtering

I am newbie. I tried DHCP Mac filtering is not enough to secure our networks and I think iptables will... This is my concept: I set a new laboratory (LAB) network. My other network is connected to a ...
1
vote
0answers
327 views

UFW Firewall Rules, has a hole in it. Please help

Can someone please look at the below output for me. I have my UFW on deny/deny, and here are the rules. But if I leave my Ubuntu Server on, with a Windows XP VM, and let Instant Messenger run in the ...
0
votes
0answers
228 views

I need some help proof reading my IPtables rules, my rules seem to work but I cannot be sure

Like the title says, I need some help proof reading my iptable rules, my rules seem to work but I cannot be sure. My set up is as follows: ISP ---> cable modem ---> Ethernet switch ---> ...
0
votes
0answers
139 views

Iptables on ubuntu Ubuntu 10.04.1 not working

I am trying to block an IP address from accessing my server by using iptables, but didn't succeed. Here are the commands that I used. (after these commands, I still keep seeing 50.18.12.86 sending ...
1
vote
1answer
102 views

iptables help needed in 1304

I've setup my raring-ringtail machine and decided to use iptables after removing ufw to have more control over my network security. However, I'm stuck at one point. First, I've set default policy to ...
1
vote
0answers
223 views

New Server - apache will not serve outside LAN

New server, running well 12.04 LTS on HP ML350. Apache = great, inside our LAN. Apache = timeout, from WAN (NAT forwarded from firewall). I have cleared all Iptables, read & checked every ...
4
votes
1answer
350 views

Could someone tell me whether my OS is communicating with the internet?

I edited iptables so that when the VPN service is disconnected, no program will access the internet. Well, I did an experiment. I disconnected the VPN service manually and immediately did a ping by ...
0
votes
1answer
302 views

Change UDP port with iptables for VPN clients

What I want to do is say that for all UDP connections on interface ppp0 that have a destination port of 53, change that destination port to 1053. I am attempting to change the destination port of UDP ...