Ubuntu Servers :: Getting Server Past A Router For Open Internet Access
Mar 14, 2010
I just finished setting up my small server, however I realized that no one can connect to it from the outside. The reason being is that my router is assigning internal ip's and dyndns is linked to that. I need port 80 for the Apache server, but if I have the router forward that port to my particular ip, won't it screw with everyone else's internet too?
I have sendmail running on my centOS 4.6. My lamp server also runs on it. I want to send mail through php mail function. when i execute php page, which fires the mail function, it takes so much long tim1 say even 1 minute, and at last displays that message sent successfully. Suppose, destination address is [URL].... I did not get any mail there. My server is running in LAN. I checked the status of sendmail, it shows me that it ios running. when i issue "nmap localhost" it shows me that SMTP port 25 is open, but when i issue "nmap myserver" (192.168.1.20 myserver ( written in hostfile)), it does not show that SMTP port is open.
I checked the /var/log/maillog, one person in my previous post advice me to see that. There it shows that message is accepted for delivery...but i do not get any mail in my destination, even not in spam folder. One more confusion is that, in my case my server is in LAN and if I am at all enable to open the SMTP port on it, does i need to open SMTP port on my router (which connects my LAN to internet) also needs to open? I think no, because SMTP is application layer protocol, it will wrap my mail in IP packet, which router just need to forward. am i right?
I have an Actiontec GT724WGR and I am having problems with my Ubuntu server. I set up a subdomain on freedns.afraid.org with my main computer's external ip. However whenever I use the link that was made it goes to my router configuration page instead of onto my server. I have already set up a static ip for my server enabled DMZ hosting and under port forwarding applied every single rule that applied to servers.
Ubuntu lts server distro using on remote machine. i have remote site where internet access given via squid proxy. so when we enter in browser it start working internet fine. but on command line(bash shell prompt terminal) like wget,ping,nslookup,traceroute etc these commands does not work.
I've installed ubuntu 9.10 64bit onto a usb flash drive and found that even though I can connect to my safecom adsl modem/router I can't get an internet connection, the previous versions work and it works with a Linksys router. Is this a known issue with a fix?
I have a dual-boot desktop with Windows 7 and Ubuntu.Problem: Linux does not recognize my D-Link DWA-131 Wireless N USB Adapter. So, I can't access my wireless router or the internet.D-Link has a Linux driver for the DWA-131 posted on their website URL...that includes a readme file with long, strange, convoluted instructions on how to install the driver.
OpenSUSE 11.3 x64 KDE I dont know what happened it is a new install thats been running for 2 weeks . Now for some reason I can not access the internet or the router. Samba is working with Dolphin I can browse shares on local network both Windblows and Linux and ping local IP's. But I can NOT ping my router (the default gateway IP) with this box or access it with firefox so no internet. A VirtualBox of XP Pro running on this box has no problems with its bridged adapter getting out and seeing the router. I disabled the firewall, added gateway IP to network settings, disabled ipv 6 from the get go, added service provider dns's to nameservers tried opendns servers also.
I changed to a 4 port ethernet router (D-Link DSL-2542B Adsl2+)with intention to share Internet access with my brother (he's on Vista).Initially it all went well,but 3 days ago there were connection problems occured on the part of the ISP. Without realized the problem,I had reset the router.This morning I've been informed by the ISP that the connection has been re-established.So,I accessed the Internet via the 4 port router but failed to do so (server not found).Suspecting that the problem was from the 4 port router,I reverted to my old Adsl router (DSL-520B single port) and without any problem I managed to access the Internet back.I really need help to configure back the 4 port ethernet router to its initial state.
At work, we (like almost everyone) are still full-on windows. I am currently trying to get away from windows because I am not a fan. my current windows machine (different from my Ubuntu machine) is accessing the wireless network fine, and there are no obvious problems there. Also, my Ubuntu machine can access my wireless network at home, so I know there are no driver issues. I set up the connection for the Ubuntu machine, and it seems to be connecting OK. I can ping internal IPs and by all statuses, the connection to the router is functioning. However, when I attempt to load a web page or ping a domain or external IP, it fails. I tried to ping the IP, thinking if that worked, it's probably the DNS, but pinging both domains or IPs fails. I have looked around at forums and posts, but none of them seem to match my issue (that's probably not true, but I am struggling to see the commonality).
Here are the results of "netstat -r":
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.45.0 * 255.255.255.0 U 2 0 0 wlan0 link-local * 255.255.0.0 U 1000 0 0 wlan0 default 192.168.45.5 0.0.0.0 UG 0 0 0 wlan0
And here is "ifconfig":
wlan0 Link encao:Ethernet HWaddr 74:f0:6d:XX:XX:XX inet addr:192.168.45.49 Bcast:192.168.45.255 Mask:255.255.255.0 inet6 addr:fe80::76f0:6dff:XXXX:XXXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Today I set my HPG50 with Ubuntu 10.10. I used network install disk, then tasksel to add Ubuntu Desktop. Everything was fine, I set up my samba shares and a few other things. I had the NM icon on the panel but did have to configure. I was on wired connection and I could surf no problem. When I went to set up the wireless, I noticed the icon was gone. I know it was there after the install. At some point the network manager icon disappeared, not sure when because I could still access the router and internet. I spent a few hours surfing google and the forums trying to find an answer. Then, after running update and upgrade I lost internet. Even though I could see the router, I connected straight to the modem, still no internet access. I unplugged the cable from that machine and plugged it into my other system and I could surf just fine.
It was clear that nm-applet was running from running nm-applet at the terminal - nm-applet - "An instance of nm-applet is already running - Warn Couldn't initialize the D-Bus manager. nm-tool - State - connected, Driver r8169, State Unmanaged, Default no. NetworkManager.State - All three entries are set to "true". It seems clear that some other app is managing my connection as I can access the router and am currently serving video to my apple tv from this system. How do I find which app is managing my connection?
I have two routers in the same apt. building and just need to extend the wifi so the whole building can use. Using a netgear router (router x) as the secondary router without WAN how can I get internet from router y? What values should I put where in the NETGEAR config?
I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.
On passing the routing command I get Destination Gateway Iface 196.44.x.y 0.0.0.0 ppp0 192.168.1.0 0.0.0.0 eth2 (my subnet) 0.0.0.0 0.0.0.0 ppp0.
The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?
i have a problem with my new router and ubuntu 10.10. The problem is that my internet connection show me that my laptop had connect to internet but my browser can't open a website ( this problem is the same with my netbook ) to fix it always must turn it off and after on either it never makes.
I have I fileserver on my home network. It has a static IP and is plugged into the back of the wireless router. It is fine on the network but cannot access the internet. I noticed this when I was trying to update my package list. This is what is in /network/ interfaces:
I must use have my time configured for my VPN to work? I have an NTP configured also but can't just place what seems to be wrong that my routers in different locations doesn't all synchronize with my vpn server.
I have 2 pcs at home. I dont have a switch so I can connect only one PC at a time to my adsl router/modem for internet access. In the past I had successfully connected the two PCs (NIC to NIC) to each other using the same ethernet cable which was supplied with my dlink adsl modem.
Recently the motherboard of on of my PC went bad so I replaced it with a new one. The problem is when I connect the two using the same Ethernet cable they won't connect. The lights on the Ethernet port won't light up. I can still connect both of them to the adsl router (NIC to Router) (one at a time).
I have a box that I installed Elastix on as I'm trying my hand at Voip and Linux. I'm basically very green when it comes to Linux and the console. As I was following a guide @ engineertim.com to securing the box, it asked me to: wget [URL], But I get: Resolving engineertim.com... failed: Temporary failure in name resolution. I searched around and tried configuring resolv.conf to no resolve - :) unintended pun
I changed /etc/sysconfig/network to include GATEWAY=192.168.1.1 From the internet I have a modem-192.168.2.1, a telecom voip box-192.168.15.1, and then my router 192.168.1.1 I'm able to ping machines attached to the router but nothing beyond that. I tried to get the results for ifconfig via putty on this machine but it says command not found. I can get it when I log in at the box in question though.
I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.
# Samba config file created using SWAT # from UNKNOWN (>) # Date: 2009/06/12 14:15:15
Server details: OS: Linux RedHat DHCP: Static IP set to 192.168.1.101 sshd_config: Enabled for port 22 for ssh Connected through wire to the Linksys router
Router: Type: Linksys BEFW11S4 Port forwarding enabled for port 22 to IP 192.168.1.101
Client: Windows 7 Interface: PuTTy Host: 192.168.1.101 on port 22 through SSH
This always gives an error "connection timed out". SSH directly on the local Linux works fine.. Seems basic but had been struggling over this for past 3 hours to no avail so thought of posting it to the experts.
I have an intranet server behind a NAT router. Very standard linksys router home setup. The server has a static IP. I used port forwarding in the router to use SSH and log into the server remotely - it works OK.
I want no one outside my home network to access any webpages on the server unless they're authenticated.. I know I could port forward like with ssh but with http port 80 and then see webpages , but again this would open it up to anyone with my cable modem's IP - wouldn't it?
I need a secure way like SSH that requires a password before anyone could access port 80 and http from the server from a remote network.
How do I do this? And on the local network people can get served pages normally as usual. Just remote would need authentication. Must be commonly done(?)
I'm getting my first server in a few weeks. I hear a lot about people using their server as a router. That sounds like an interesting prospect, as I think it would increase security and control, with all web traffic going through one central hub so to speak.If I do this, how do I handle wireless? Do I just hook my wireless router to my server, basically making the internet connection go through the server before it gets to the router?
I've got VPN setup and working on my server. I can VPN into the server and access my local network from anywhere. It uses pptpd for it. My problem is that I can't access the internet once I'm connected to my VPN. Is it possible to allow internet access through VPN?I mainly would just like to be able to connect, access my local network, and still browse the internet. Is there anything specific I need to change?
I'm having a strange problem with my network connection/DNS. I turn computer the on and it recognizes and connects to wireless or wired but I can't access any Internet resources or my router. If I ping the default gateway, I get no response and I get DNS errors from any network services that run at start up. If I stop and start the network daemon then it all works fine until the next time I turn on my laptop. It does this for both wireless and wired connection.
I've tried to edit the network interface information in YaST but it says that configuration is handled by knetworkmanager and I have no idea where that information is accessed. I should point out that it all worked fine until I tried to connect to open WAP at my school and couldn't so I connected to the wired network. Next morning I had this problem when connecting to my home network. My questions are 1. What could be the cause of this error and 2. where does one configure the network interfaces when using knetworkmanager
Im having problems turning my server into a gateway. I followed this guide- [URL]- and I cant get it to work.In my server I installed two new gigabit network cards, and I cant seem to be able to get it to work.
I have ubuntu server 10.04 installed with wired internet access through my router. I recently installed the ubuntu-desktop packages and cannot get internet through the gui, firefox never gets past the "looking up" stage.I can accessthe internet through the command line and through webmin httptunnel. Wget, apt-get install, apt-get update, apt-get upgrade all work fine from the command line. I have local access to the GUi as well in the form of VNC that is working fine.
I have ubuntu 10.04 running LAMP and proftpd, I can access over LAN but not when I type my domain name in. I have forwarded all necessary port to to the local ip of that box, added rules to ufw to allow traffic on those specific ports. I use dyndns for a second level domain and have used all their tools to check whether the ports are open and have the results I am looking for.