Most firewalls won't let you connect to the external address assigned to the firewall from inside. The solution to that for most is to add a line to /etc/hosts that short cuts the lookup to po... [by TrevorH]
on 07/14/2012 – Made popular on 07/14/2012
On a LAN each computer is assigned a different IP address each morning. When I installed Kubuntu 12.10 the IP address assigned to the machine was '10.0.0.2', but today it is '10.0.0.1'. When I try to connect to 'http://127.0.0.1' in a web browser I see in the status bar 'Connecting to 10.0.0.2'.
Now I dont often have to mess with my local network but I have an application which needs to use dns lookup to find another PC on my local lan (it assumes anything in its config to be a name and not an IP address!)) so what I thought I could do was to add the relevant name and IP address to my /etc/hosts file and after a restart any request for the defined host name would be returned the IP addres
I have just setup an F17 box as a firewall. Everything is working fine, except for one minor catch: In short, the firewall box itself cannot access any services (eg, dns, ntp) unless I explicitly open up ports for them on the wan interface.
I have a router that has 5 static ip addresses set on it. These external static IP's are mapped to internal IP's on our LAN. We currently have no firewall or proxy set up, so I cannot monitor user bandwidth usage or block content.
I have set up an Ubuntu firewall with 2 network cards and Squid proxy and am able to connect to the internet via the firewall from a workstation within the LAN.
I have a website setup behind a router, so the router has the external facing address and it will forward requests to the webserver inside the network. If there are X number of invalid login attempts, that IP address will be blocked from logging in.
I'm using F17 (XFCE spin, if it somehow matters). I have disabled SELinux and turned off the firewall using the GUI front end, but I still get "access denied" when trying to connect to Samba shares and NFS shares, and other things like the weather panel applet also can't connect to the internet.