I have a linux iptables-based firewall (used firestarter) running on an Ubuntu 9.04. Kernel is 2.6.28. My ISP called me the other day to say that my internal IP addresses (10.5.0.x) are showing up outside the firewall on one of the downstream routers (probably the router on my roof providing wireless internet access to my rural house). I have forwarding and NAT configured using iptables and last night I logged into the roof antenna router (a MicroTik) and ran Torch (that lets you see the connections through the router) and sure enough, amid mostly entries showing my NAT ip address, I saw several ip addresses with internal addresses (10.5.0.5, 10.5.0.9, and 10.5.0.19, all, coincidently (?) MAC Pro laptops) in the list of connections. How is this possible? I thought by using NAT/Masquerade with iptables, that iptables would rewrite all packets so that only my external ip address (192.168.250.253) would appear. Can someone who understands this explain whether these internal addresses should ever appear outside my firewall/router (with NAT enabled)?
I have a rule:
-A POSTROUTING -o eth0 -j MASQUERADE
that I had believed would masquerade all addresses (and perform the NAT translation). In fact, I haven't changed anything on my firewall in a very long time (and the last kernel software update was in March, I believe).
I didn't do the bulk of the iptables rules myself, rather letting firestarter to the setup, for which I have NAT enabled. I get no errors on startup, which suggests that all the relevant modprobes for nat, masquerading, and forwarding are successful.
While issuing the command netstat -M it shows netstat: no support for `ip_masquerade' on this system. But this system is used as a gateway and iptable rules are set for ip forwarding. Also internet is getting another machine through this machine. What about the message?
I have two wireless cards on my pc. One connected to the Internet and one free. I would like to connect the free one to a adhoc network with my netbook to share my connection because my netbook cannot reach the other side of my home.
I want to change all outgoing email from my Ubuntu server running postfix to change (masquerade) the username. eg. james@example.com will appear as 'From' 'admin@example.com'. I already know how to masquerade domains, but not users.
I've got two routers, 10.0.0.0/23 and 192.168.2.0/24, which are joined by a Linux box with interfaces eth0 (10.0.0.2) and ra0 (192.168.2.2). I've got masquerading for ra0, and a route to 192.168.2.0/24 on 10.0.0.0's router. I CAN ping hosts on 192.168.2.0 from 10.0.0.0 just fine, but I CANNOT access web pages.Strangely, If I enable masquerading on eth0, and add a route to 192.168.2.0s router to 10.0.0.0, I can ping AND access web pages from 192.168.2.0Here is my current iptables
The iptables has every rule set correctly, the users in the subnet works great, but I have the following issue.every user connect to a mysql running on the internet through the port 3306, the forward and masquerade do the job. Now I have a user in the outside, and he wants to connect to a mysql in a certain machine (Not the gateway), prerouting rules solve my problems, but all the packages from the inside users goes now to that certain machine. I would like something like if the package passed trough masquerade don't pass trough the prerouting rule, and if it come from the outside (Not a package that come from a petition from the inside) pass trough the prerouting rule.
When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.
Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.
I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.
I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?
I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.
I have a Dell Latitude D530 Laptop (500 GB HDD). Installed Windows XP and then Ubuntu 10.10 to do dual boot. everything works fine in Windows XP.In Ubuntu 10.10 I had issues connecting to Internet(Through Wirelss), I was able to rectify this issue by dsiable ipv6 from firefox about:config and setting true to network.dns.disableIPv6. After this I was able to connect to internet and browse websites from Firefox.But I am having Issues with Evolution Mail(Connection Timed Out) and Google Talk Client(Connection Timed Out).Empathy Internet Messaging gets connected fine.I was wondering if I will have to disable IPv6 System wide and hence I added the following lines to /etc/sysctl.conf
I had an Ubuntu Server 32 bit installation and everything was working fine. Now that I installed Ubuntu Server 64bit on a new drive in the same machine, the ethernet card is not working!! This is insane cause when I put the hard disk with the 32bit installation back and booting from it, the ethernet card is working without any problems but in the 64bits installation it is not shown at all using "ifconfig -a"
I can connect to the internet with wired connection. The switch for the device is on but this command "sudo lshw -C network" has the following results:
OK so I set up a server yesterday and got ndiswrapper loaded on it with the appropriate driver, I edited the /etc/network/interfaces file to contact my router with it's MAC address, WEP Key, etc... So the problem is I can ping addresses like Google and Ubuntu Forums but I can't use apt-get to install or update packages. When I try sudo apt-get update I get a whole bunch of Code: W: Failed to fetch <address>Temporary Failure resolving <address>My Wireless interface is wlan0 and also I can ping my server from my other computer running Linux and my server can ping that computer too.
I just started having a problem with my 10.04 laptop a few days ago, maybe Thursday, last week. When the computer is plugged into my home network (standard 192.168.1.1 sort of IPs) it works fine, but when I try to connect to my work network (130.15.90.XX) I am unable to pick up an IP. The router in my office is working fine, all the windows boxes can connect.
I've also noticed that when the computer is plugged in at work the notification icon for the networking indicates it is looking for a wireless connection (rather than the normal up/down arrows), even if wireless is deactivated
I can set a static IP in /etc/network/interfaces and everything works, so it seems to be a DHCP problem?
I'm running Ubuntu 10.10 Maverick Meerkat 64-bit on my desktop with a wired internet connection (with no firewall). For the past 2 days, I have observed that1. Firefox randomly throws up errors like "Problem loading page" whenever I click on a hyperlink. When I click on Reload, the page loads up just fine. This has been happening a lot recently..and I do not remember updating anything consciously. By the way, ipv6 is disabled in Firefox.2. The network stops working all of a sudden (usually indicated by the Firefox error). The Autho Eth0 indication is active, but I am unable to connect to any external machine.
3. Needless to say, this error is manifesting itself in apt-get as well. I get "something wicked happened" errors all the time, and am unable to download or install anything.That this is not a problem with the ISP is obvious because I also have Windows (from which I'm typing this, ironically), which is able to access the internet.Is this a bug in Ubuntu 10.10?
Wired and wireless networking have been working flawlessly for years on my HP Compaq 6710b laptop. Several weeks ago, after an automatic update via the update manager, my wired network stopped working. I did not notice it directly, since my wireless connection took it over. I only noticed it when I had to work in an office where I didn't know the wireless password.Since then, I have been trying several things and searched several forums. It is hard to find any troubleshooting information about wired networking, as most of the problems seem to occur with wireless.
I did verify that there is no hardware problem. My laptop is dual boot and when I boot the other operating system, the wired network works without problems (as does the wireless.)My Ubuntu version is Ubuntu 10.04.1 LTS. My kernel version is 2.6.32-25-generic i686. I hope anybody can help me getting my wired network working again.
Previously I have had Linux installed on my laptop (OpenSUSE, Ubuntu) with no problems as far as wireless networking in concerned. Due to wanting to play a certain game (which I have since grown tired of), I reinstalled Windows 7 Ultimate 64-bit. Recently I have booted up to live DVDs of PC-BSD, Ubuntu, Kubuntu, and OpenSUSE 11.2 and I cannot get wireless networking working.
At home I use WPA2 Personal. I put in the passphrase into NetworkManager (the same as I do for Windows), and the computer gets an IP address from the router (I use 10.3.5.x at home). The problem is, I cannot connect to the Internets. If I do "ping -c 3 cnet.com" it gives me the proper response of 216.239.113.101, but if I try to go to cnet.com, I get a page cannot be displayed in Firefox.
I get this error for every website. I don't understand it seeing that I can ping the websites, but even if I put the IP address in the URL, it still doesn't load the page. What am I doing wrong? Everything is dynamic, as in Win7. But everything works perfectly in Windows, but no such luck in Linux. I know it must be something simple, but I'm at a loss. Seeing that I no longer play Star Trek Online, I'd like to put Linux or BSD back on my laptop, but no Internet is not an option.
I installed the latest release of Kubuntu on to my dell laptop about 3 days ago, I fell asleep last night and woke up to my laptop not being connected to my wireless(it was when I fell asleep, it didnt reboot or anything overnight an dno one touched it), so I plugged in an ethernet cable and it still did not detect an internet connection, then finally it connected through my phones mobile internet via Usb.
However none of the built in networking devices are working, I have them all enabled.My WLAN Interface says "Unmanaged" and Networking interface complains the cable is unplugged even when it is not.I know you guys will need some additional info from me to help me.I just used my mobile broadband to install Wicd network manager but thats just a temporary fix, as it doesnt fix my ethernet issue and I want to be able to use the network manager itself to manage my networks.
I have a LAN with 3 computers, connected to a router.I can ping from one computer to the other by IP addresses, but not by their names! Now the question is, why.As the router works as DHCP server as well as DNS server, it should know the IP addresses and names of all computers, and commands like "ping jonnie" should work.
I tried doing nfs mount and it doesnt work for me. The following is the output of my "showmount -e <IP>"
Export list for <IP>: /home/apchitra/workspace * /home/apchitra/workspace/canmore/sdk/fsroot_2038 *
I am trying to mount one of these directories from other machine and it doesnt work. Gives me the following error.
Looking up port of RPC 100003/2 on <IP> Looking up port of RPC 100005/1 on <IP> mount: server 16.0.0.0 not responding, timed out Root-NFS: Server returned error -5 while mounting /home/apchitra/workspace/canm8 VFS: Unable to mount root fs via NFS, trying floppy.
Something happened yesterday and now DNS is not working. I have checked /etc/resolv.conf and the settings are correct. I can ping my DNS servers and perform name lookups with dig but nothing else works. Normal applications do not work because of this.
I can't get my NAS drive to mount using NFS in etc/fstabcan anyone see anything wrong ?92.168.1.111:/mnt/IDE1/music /mnt/musicbox nfs intr 0 0this gives me "mount.nfs: an incorrect mount option was specified" error messageI can connect at the command prompt, but only if I don't use the "-t nfs" option !! this gives me the same error.I have all the necessary pacakages installed and as I say I can connect at the command pompt using Code:sudo mount -v 192.168.1.111:/mnt/IDE1/music /mnt/musicbox -w
I have another issue, I can manage my Linux computer from my windows 7 computer using TightVNC, but I can't access my linux machine with SSH.Ports 5900 and 22 are open on the linux IP on my linksys wifi router,openssh server is installed on linux machine as wellssh as well
i have installed Linux Mandriva 2010 for the first time ,and i face a lot of problems as the drivers for sound and video and internet , althought i have sound but id does nor work with all movies and flashes . and video it seems ok but needs better driver and the net does not work ?my pc SPECIFICATIONS:
I have a sun server connected to my dell laptop for internet. I've port forwarded 21 on my router, and it's pointed to my laptops static IP (192.168.1.8). I started the ftp service on the sun, and it works fine locally. But when I try to connect to my ftp server with the external IP, it doesn't work.
I am trying to connect to my WEP enabled wireless network. I have a pci wireless card with chipset id 10ec:8190, and installed the driver (net8190p.inf) with ndiswrapper on Ubuntu Linux 8.10. I am able to connect when I disable WEP, so I'm sure that the driver is installed correctly and is working. I am connected now from XP with WEP enabled. How to get my Ubuntu distro connected here?
Now I access to Internet through ADSL router. At the same time I want to run some service on my ubuntu, so I need a static LAN IP such as 192.168.1.100. I use network-manager to config my network. But the problem is that if I click DSL to access the Internet. My eth0's static ip setting will be change. So I have to manually change it back to 192.168.1.100 by using ifconfig.My problem is that is there any method that I can get the DSL and LAN static IP work together without typing ifconfig cmd every time?