0
votes
0answers
9 views

Wifi hotspot service on Precise without disabling ufw firewall?

I've been using 12.04 LTS for a while, and for my own sanity and security, I've configured my ufw firewall to deny all incoming, and for outgoing just allow these ports: TCP 80, 443 for web-browsing ...
0
votes
0answers
24 views

Cannot get Samba past firewall

I have two interfaces. One (eth0, 192.168.1.x) is my network, my internet connection. I pay for my own because of bandwidth issues. The other (eth1, 192.168.0.x) is the other occupants' LAN that I ...
0
votes
1answer
91 views

UFW 'default deny incoming' doesn't work

I have UFW enabled, 'default deny incoming' set and no any additional rules, but I still can access all ports from other PCs. I have to manually block each port. What can be wrong?
0
votes
2answers
98 views

Forward [open] Ports 7777; 2106

Hi i am new to Ubuntu (12.10) x64 Trying to forward ports for gameserver on my pc (Lineage II) Ports are opened in UFW Ports are opened in my Router Even if i disable UFW others still cant login to ...
-1
votes
4answers
88 views

Simply safe internet access

Is it necessary to configure a firewall like iptables or firestarter when the goal is only to surf safely? For me, there is no need to open any port (i.e. samba, etc.).
2
votes
1answer
129 views

How can set these iptables rules to run at startup

I usually run my iptables rules whenever I login. From the terminal I type ; sudo sh firewall.sh Setting up my sister's computer, I want to give her some basic firewall protection. She wont be ...
1
vote
1answer
116 views

How to allow PPTP VPN access through APF firewall

I'm attempting to connect to a PPTP VPN. I have opened ports 47 and 1723 in the ingress rules. When APF is turned on, it fails. When APF is turned off, it works fine. I have turned on as many logging ...
0
votes
1answer
69 views

Want some advanced configuration with ufw

I've read the ubuntu developer docs regarding the ufw here, but couldn't find what I was looking for. It allows me to set rules for controlling in/out traffic based on source IP or port numbers, but ...
3
votes
2answers
190 views

Error message when entering iptables command (table does not exist)

I have been trying to install Spotify, but when logging in I get a message saying I have an error 101. This appears to be related to either my proxy settings or to my firewall. Following instructions ...
0
votes
0answers
52 views

setup bridge firewall

I want to setup bridge on ubuntu 12.04 something like this LAN --> ubuntu bridge -->default gateway-->Internet do I need 2 eth interface? can I setup using ethernet to connect to LAN and wlan to ...
1
vote
1answer
98 views

Migrate Debian firewall rule to Ubuntu

My old Debian firewall died and I'm migrating saved rules to Ubuntu this way: iptables-restore < firewall_config I get this error: Bad argument `192.168.1.0/255.255.255.0' Error occurred at ...
0
votes
0answers
250 views

Problems allowing outgoing multicast in ufw

I am having problems configuring the uncomplicated firewall (ufw) to allow outgoing multicast traffic. I am blocking all in and outgoing connections as the default policy. I have supplemented with the ...
-3
votes
1answer
151 views

iptables port forwarding A -> B -> A [closed]

I have a host machine(A) with lxc-container(B). A's local ip address is 10.0.3.1 and public ip, let's say 1.2.3.4. B's local ip address is 10.0.3.21. I need 1.2.3.4:7999 to be forwarded to ...
2
votes
1answer
318 views

Writing a simple firewall with iptables

I'm learning how to use iptables and I'm writing a very simple firewall on Ubuntu. Using just the filter table, I added the following rules iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P ...
8
votes
1answer
268 views

Replacing my firewall rules

I've had an init script for many years that configures iptables for me and it has worked like a champ until now. After upgrading from 10.04 to 12.04 I started having firewall problems where the ...
2
votes
2answers
125 views

List firewalls on the local machine

In Windows besides the Windows firewall a user could have installed a firewall program, or there is another service listening to that port. In Ubuntu how can I see what blocks/filters open ports? ...
0
votes
0answers
351 views

Internet sharing and file sharing on eth1 for wired users and wlan0 for wireless users through squid, dansguardian & Hostapd

I have 3 network cards installed in my Ubuntu 10.04 server and I want to configure Internet sharing and file sharing on eth1 for wired users and wlan0 for wireless users through squid and ...
0
votes
0answers
97 views

iptables block certain lengths

I'd like to start off saying I am a beginner with iptables. I seem to be having issues with my iptables. I'd like to block incoming packets greater than 150 bytes. I have a copy of an exploit that ...
2
votes
1answer
266 views

Linux Firewall NAT Port Forwarding Issues

At my home I have a Linux server (it's only job is NAT, DHCP, and DNS) with Ubuntu 10.10 Server 64-bit. I have webmin installed on the server too, but I do know my way around a command line quite ...
2
votes
1answer
288 views

How do I block a protocol using iptables firewall

How to block a specific protocol using iptables firewall? For example block Yahoo messenger?
1
vote
1answer
2k views

How to configure UFW to allow IP Forwarding?

I have UFW, OpenVPN and Virtualbox installed on my home server. I have a host-only network for my virtual machine guests (vboxnet0) set up with the IP range 10.0.1.0, and another IP range of 10.0.0.0 ...
2
votes
1answer
4k views

How do I allow all possible IPs for Gmail servers through my ufw firewall?

I am currently using the following rule: ufw allow out from my_local_ip to any port 587 This is a little too lax for my liking. I would like to tighten it up and restrict it to only gmail's smtp ...
0
votes
2answers
814 views

iptables problem

Hi guys i have the follwoing iptables file for my ubuntu 12.04 server. ITs a bit messy because i tried different ways to fix it but the problem is it doesnt allow apt commands such as apt-get to run. ...
1
vote
1answer
506 views

How to set fail2ban with apf?

I just installed fail2ban and the apf firewall. Those 2 seems to be not working together. Fail2ban have added some ipatble rules but they are not working. When I issue "/etc/init.d/iptables status" ...
2
votes
2answers
2k views

iptables mac address filtering not work

I block every port default by ufw and add iptables rules like this: sudo iptables -A INPUT -p tcp --dport 1723 -m mac --mac-source 00:11:22:33:44:55 -j ACCEPT then I list iptables INPUT rules: ...
1
vote
1answer
778 views

How can I set up GUFW so that only firefox connects to the internet

I only want http, https and DNS to be open. I'm having troubles with setting up port ranges in the UFW GUI. How do I input configs into the feilds? Basically, something along the lines of this, but ...
2
votes
0answers
596 views

Is there an application firewall for Linux, like ZoneAlarm [duplicate]

Possible Duplicate: How to control internet access for each program? I've tried Firestarter and Ufw, but in the end, decided to write my own iptables scripts. I basically let http and ...
2
votes
1answer
232 views

Shorewall is breaking packets/sessions when connecting out to internet

I am happy to forward any further data if required like firewall rules etc. Would appreciate if someone can skim through my config and see if there are any glaring errors. Problem: Everything working ...
2
votes
1answer
655 views

No client internet access when setting up these iptables rules

I have read many other posts but cannot figure this out. eth0 is my external connected to a Comcast modem. The server has internet access with no issues. eth1 is internal and running DHCP for the ...
4
votes
2answers
4k views

How can I make a specific set of iptables rules permanent?

Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank ...
1
vote
2answers
816 views

Block anything from certain IP, injected from ISP when tethering from phone

My ISP injects JavaScript files - most notabily bmi.js - and certain other unwanted additions to web requests when tethering from my phone. It would be OK if the JavaScript was useful, but it is ...
9
votes
6answers
6k views

How to control internet access for each program?

I would like to use a software to control which program may connect to the internet. I know that this behaviour is associated with the word "firewall", but some Linux users are very upset if somebody ...
1
vote
2answers
233 views

How do I interfere with domain access?

I've just installed Self Control for Ubuntu. It looks like it just tweaks /etc/hosts and defines some rules in iptables. Some sites aren't getting blocked, and I think it's because they're ...
8
votes
3answers
6k views

How can I block ping requests with IPTables?

and stealth specific ports?