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'.
I'm trying to convert an old Pentium III I had lying around into a firewall and decided to use Devil Linux. I have a dual port adapter I'm using to connect to my router and my desktop on eth0 and eth1, respectively.
I'm on a corporate computer that is behind a very restrictive firewall, and trying to connect to my home computer.
I configured my router to forward port 80 to 3389 (RDP port). My idea was to try to connect with port 80 since the regular RDP port might be blocked.
However I found out that it's not working.
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
Is it possible to add scripts (like curl) to /etc/hosts? I am trying to set up a subdomain over ddns, and it's really hard to update my /etc//hosts file on the fly when my IP address updates without my knowledge. Thanks in advance.
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.
Our existing system (ubuntu server) uses curl to connect to another remote server over https. From any browser connection works and we get a response. I opened the port 443 to make sure that it is not being blocked by the firewall.
For testing, I used the curl command via the terminal and received the error "curl: (60) SSL certificate problem, verify that the CA cert is OK.