A networking program that controls the incoming and outcoming stream of data in a computer.
1
vote
2answers
211 views
How to allow mysql remote connections via particular interface
I have a 10.237.49.251 IP on eth0 and another IP on another interface
How do I enable remote mysql calls on eth0 device?
1
vote
2answers
459 views
What is a solid iptables configuration for my desktop?
On my desktop, I want to configure iptables pretty strictly. I see no reason why I need to allow anything except for internet traffic that I initiated. And maybe even that could be limited to only a ...
0
votes
1answer
470 views
Network Printing in Fedora
I´m having problems setting up network printing in Fedora 16. In the printer setup box it says FirewallD is not running and gives a list of protocols that need to be enabled. I cannot find a FirewallD ...
1
vote
0answers
71 views
Strange speed-throttling problem
I am experiencing strange speed-throttling on my network and I have no idea how to diagnose it. I hope someone could perhaps give me some tips or hints on how to tackle this one.
Here's the problem: ...
5
votes
1answer
2k views
Uncomplicated Firewall (UFW) and UPNP
Is it possible to configured UFW to allow UPNP between computers in the home network?
Everything works if I turn off the firewall. I can see in syslog the firewall is blocking me. I've tried all ...
0
votes
2answers
2k views
How to set up firewall on Debian Squeeze
I have set up Apache, MySQL, PHP, SSH (which I use to connect to the VPS), Node.js, MongoDB and ProFTPd. Now, I want to have a firewall on the system, so that no one hacks the system. For instance, ...
0
votes
1answer
1k views
IPtables string match
I'm trying to write iptables string match rule To block http://domain.com:8888 and https://domain.com:8888 when it matches the supplied string in the rule. And another rule to redirect the ports also ...
1
vote
1answer
128 views
Linux tools to choose suitable Cisco ASA 5500
I have a linux webhosting server which attracts DDOS attacks.
I want to use Cisco ASA 5500 Series Adaptive Security Appliances to protect the linux server from them. I know there are many factors ...
0
votes
2answers
142 views
How To See Which Ports Are Open On A Particular Firewall
Using the terminal I was wondering if it would be possible to see a list of all the active firewalls on a particular system that I have shelled into. I want to be able to see which ports are active ...
1
vote
1answer
254 views
How do I shut down ports remotely without shutting myself out?
I have an Ubuntu 11.04 server in a remote location on another continent, so I have no physical access to it. I only interact with it by ssh (and scp), and intend to only ever interact with it that ...
2
votes
0answers
1k views
Installing pfSense firewall on an SSD
I was looking at creating a home firewall running pfSense (as I could not get IPCop to boot properly on my hardware). Doing a little research, however, I have some concerns with installing it onto an ...
2
votes
1answer
518 views
Linux Home Firewall
I was recently delving into thoughts of building a small home server to run random things off of (maybe a TF2 server). Thinking about this further I realized I would need to get a better firewall ...
1
vote
1answer
124 views
iptable rule to redirect only https handshake?
I was reading this interesting article today: http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html
A crazy thought came to mind...Is it possible to write an iptable rule that only ...
4
votes
2answers
924 views
Preventing program from using internet
Is there a way to block certain programs from being able to connect to the internet in Debian (a firewall blocking outgoing connections), so for example, to block a windows program running in wine ...
8
votes
4answers
468 views
iptables on tor exit node
I want to run an open Tor router.
My exit policy will be similar to ReducedExitPolicy.
But I also want to make it hard for the tor network to abuse my resources.
Cases I want to prevent clients ...
3
votes
1answer
297 views
Outgoing firewall application similar to Little Snitch for Mac
Is there a Linux application similar to Little Snitch? Little Snitch is an outgoing firewall that temporarily blocks outgoing network requests until the user decides whether to allow the connection or ...
2
votes
2answers
477 views
Can I use divert as an alternative to ipfw fwd?
I would like to lead some traffic through a transparent proxy (which actually is on another server and connected with an ssh tunnel).
Normally I could do this:
ipfw add forward localhost,8080 tcp ...
-2
votes
4answers
191 views
Steps to secure your server? [duplicate]
Possible Duplicate:
What to use to harden Linux box? Apparmor, SELinux, grsecurity, SMACK, chroot?
I'm just completed install my web server.
So what should i do to secure it?
I just ...
3
votes
2answers
924 views
How can I block a range of IP addresses with an Amazon EC2 instance?
I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
5
votes
2answers
2k views
Per process firewall?
I've been reading around but can't seem to find a way to create per-process firewall rules. I know about iptables --uid-owner but that only works for outgoing traffic. I've considered scripting ...
2
votes
0answers
498 views
pfsense long ping to google
I have a pfsense box set up. What happens is I set a rule so I can't hit the admin interface 192.168.3.1 from the box.
With the rule enabled
--- www.l.google.com ping statistics ---
2 packets ...
10
votes
4answers
1k views
Why do we need a firewall if no programs are running on your ports?
When I try to telnet to a port on a server, and if there is no program listening on that port telnet dies with a "Unable to connect ... " error. I understand that. But, why do we need a firewall if ...
3
votes
2answers
509 views
How to check and block processes connecting to internet directly?
Is there a way to find which processes in my system are getting connected to net automatically. Is there a way to select and block net access of some processes permanently? I use mint 11. I use a USB ...
2
votes
1answer
510 views
Will the Firewall GUI in CentOS overwrite changes implemented by IPTABLES manual edits?
I would like to restrict access to the SSH port of a new CentOS 6.2 server to select IP addresses but the Firewall GUI utility seems to be an all-or-nothing scenario. Either the port is firewalled or ...
3
votes
1answer
270 views
What port range will ipfw nat use for aliasing?
I am using ipfw nat with the following config
ipfw -q nat 1 config if em0
Which TCP and UDP ranges will the NAT choose its alias ports from? I would like it to be always from the range 49152–65535, ...
3
votes
2answers
391 views
FreeBSD kernel nat or natd?
As I notice more often with FreeBSD, there are always plenty of ways that lead to some specific goal.
After figuring out which firewall I wanted (I choose ipfw) I now am completely insecure about ...
2
votes
3answers
825 views
Blocking outgoing connects with iptables
I have a (non production) machine where external supporters have shell-access (non-root). I want to prevent them from going further on into our network from that machine using iptables.
The "normal" ...
2
votes
1answer
1k views
Ignore a specific ip for fail2ban
I am using fail2ban with ipfw on FreeBSD. Is there a way to ignore a specific ip address, making sure that fail2ban never blocks or reports it?
2
votes
1answer
313 views
UFW Limit does not appear to work
I have my ssh port changed to XXX. Then I did
ufw limit XXX/tcp
However, when I try to login, after 5/6 failed attempts I get thrown back to prompt, but I can try again. Is that supposed to be the ...
2
votes
3answers
892 views
Making sense of auth log
I am seeing some log enties that look like hacking attempts
Type 1
Dec 26 03:09:01 ... CRON[9271]: pam_unix(cron:session): session closed for user root
Dec 26 03:17:01 ... CRON[9308]: ...
1
vote
1answer
355 views
How can I move firewall settings from one Debian Squeeze web server to another?
I configured a Debian Squeeze virtual machine in VMWare on my laptop. I configured it with a very restrictive set of firewall rules using Firestarter. I then uploaded a copy of its disk image to use ...
3
votes
2answers
1k views
How to limit number off ssh login attempts per time interval
I am trying to limit number of ssh login attempts per time period. How might I do that?
I have something like (in shorewall's rules)
#ACTION SOURCE DEST PROTO DEST ...
4
votes
1answer
1k views
Why doesn't my iptables rule work?
I have two interfaces on my VPS: eth0 and eth0:0. I want to block incoming packets on port 80 on eth0:0 using iptables. I tried this, but it doesn't work:
iptables -A INPUT -i "eth0:0" -p tcp ...
4
votes
2answers
243 views
How can I use one network port for VPN and the other for everything else?
My Linux machine has two network ports with two IP addresses. I want to use one port for my VPN and accounting, and the other port for other usages. How can I tell Linux not to allow any requests from ...
3
votes
1answer
305 views
Using rsync + cron to sync a machine behind a firewall with my dropbox
I have a machine (A) behind a firewall with no access to the Internet, on this machine I can NFS mount directories on another machine (B) which can access internet, and is accessible from Internet, ...
3
votes
2answers
390 views
How to listen to all ports (UDP and TCP) or make them all appear open in Debian
I got an external Debian server. The problem is that my university campus doesn't allow connections to go outside when the port is different than TCP port 22, 80, 443, or UDP port 123. I tested them ...
0
votes
1answer
1k views
How to really security a linux-mint-desktop?
I'm installing some security software in my mint9Gnome.
I first went to Firestarter and looks like a pretty start.
Now I'm going to OSSEC and want some good tools to search my logs too. Thinking ...
3
votes
1answer
403 views
Letting NFS through a FreeBSD PF firewall
I'm trying to configure my firewall (PF) on FreeBSD to let NFS traffic through.
I know that NFS uses both TCP and UDP to connect to the client along with a bunch of daemons that use random port ...
4
votes
1answer
624 views
Force VPN using IPtables?
I want to force the use of VPN using iptables, therefore while VPN is disabled no outgoing traffic shall be allowed (except maybe some DHCP stuff...). Now i guess I could just block everything not ...
4
votes
1answer
2k views
Difference between SNAT and Masquerade
I am confused what's the actual difference between SNAT and Masquerade?
If I want to share my internet connection on local network than whether should I select SNAT or Masquerade?
Give me some ...
3
votes
2answers
231 views
Recommended reverse firewall applications for linux?
I'm looking for a reverse firewall, something like Little Snitch for Linux, but my google-fu is failing me. Does something like this exist on Linux? Many thanks.
3
votes
1answer
256 views
Converting a line from a firewall on OpenBSD 4.9 to OpenBSD 4.7
What is the OpenBSD 4.7 equivalent of this line from OpenBSD 4.9 for use with pf?
no nat on egress proto udp from 192.168.1.10 port 4672 to any
0
votes
1answer
491 views
Can't connect remotely to server running redhat (ec2)
I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in /root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in /root/bin/glassfish3. I set JAVA_HOME and ...
-1
votes
1answer
2k views
What is sport and dport?
I want to stop internet on my system using iptables so what should I do?
iptables -A INPUT -p tcp --sport 80 -j DROP
or
iptables -A INPUT -p tcp --dport 80 -j DROP ?
2
votes
1answer
766 views
iptables rule to allow access to internet
I made default policy of my machine-
iptables -A INPUT -j REJECT #DROP ALL PACKETS TO INPUT CHANNEL
INPUT channel has been blocked. Now I want to allow only some specific services like I should be ...
5
votes
4answers
464 views
How can I send spoofed packets in Linux
In order to test a firewall, I want to send malformed packets to its interface, regardless of my routing table.
Is there a way to ask linux "send this exact tcp package, to this MAC address, ...
2
votes
2answers
303 views
Security with Kernel IP Forwarding Enabled
I recently enabled IP Forwarding on a production web server that also acts as a VPN server. What, if any, security issues did I just set myself up for? And are there any iptables rules I should set ...
4
votes
4answers
3k views
Set some firewall ports to only accept local network connections?
Basic firewall question:
How do I set up the firewall on a system in a LAN so that some ports are only open to connections from the local area network, and not from the outside world?
For instance, ...
1
vote
1answer
846 views
Fedora firewall with UPnP?
I'm using Fedora 15 and Transmission BT client. Transmission can't open ports unless the firewall is disabled.
I searched some posts that said add 1900 to the trusted ports, or via a iptable rule: ...
3
votes
1answer
219 views
Setting up the firewall for amule on OpenBSD 4.7 gateway
I'm trying to properly setup the firewall on my gateway (OpenBSD 4.7) using pf to allow amule (on 10.0.0.104) to operate properly as discussed here:
Now I know pf has changed a bit from OpenBSD 4.7 ...