Ubuntu Networking :: IP Masquerading To Enable All Nodes With Internet Access
Jul 1, 2010
I am setting up a computing cluster in my lab, as below. all the "eth0" IP addresses are static (for cluster communication) and the "eth1" of the front node is the only one connected to the internet through lab's DHCP server (which is connected to a centralized computer center in the university). The thing I wish to do is to do some sort of IP masquerading to enable all the nodes to have internet access. I actually google around and read some books. The similar things I came across is setting rules in iptables but I did not manage to get any of them working. I am using Ubuntu Lucid 64-bit on all machine.
View 6 Replies
ADVERTISEMENT
Jan 13, 2010
I have recently installed Fedora 12 and want to share my internet connection with other pc's at my home including windows pc. My linux machine is connected to internet via DSL connection.
View 6 Replies
View Related
Feb 11, 2010
l have been trying to enable masquerading in sendmail. I've started from scratch. Here's what I did:
1.My Mail Server name is "ids.com" and local hostname is "server"
2. When I send the mail from my user to other user. The mail goes with user@server
All this allows me to send mail from all of my computers. Now, to get masquerading:
3. I have MASQUERADE_AS(`ids.com'), MASQUERADE_DOMAIN(`ids.com'), and FEATURE(`masquerade_entire_domain'). I also added "ids.com" to /etc/mail/local-host-names to be able to receive mail addressed to that domain.
This masquerades mail originating on the server, but still the mail from the other computers has a "From:" line of the form user@hostname.
View 2 Replies
View Related
Jan 3, 2011
I am stepping into Linux world ...and I have chosen CentOS.
I have installed CentOS 5.5 on a dedicated IBM server successfully. My server has two network cards. I have configured eth0 for lease line internet connection with a live IP (113.xxx.xxx.xxx) and eth1 for local LAN with a static IP (192.168.0.1).
Now,
1. DHCP is working fine and I can access the server from my Windows XP clients.
2. I can access the server with SSH client PuTTY from home ( with the live IP ) and from the local LAN (with static IP 192.168.0.1)
3. I can access my shared server directory 'public' from my XP clients
4. Internet is working on sever and I have updated the server with yum update.
But, I cannot access internet from my XP clients machines.
I read "The Definitive Guide to CentOS" and tweaked the config files in different ways but it did not help. now after two sleepless nights I am here as my last hope.
I admit, I am not aware of every linux terms and commands, but I am getting into it. code...
View 8 Replies
View Related
Dec 31, 2010
I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following
----On the phone---
-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.
-Decide and set "Shared Network" parameters: user, pasword and workgroup.
-In "conectivity-> internet connection" set "allow local network" to "yes"
----On Ubuntu 10.04---
-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server
-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.
-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.
-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd
-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).
-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"
-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.
-Apply policies and start the firewall.
------------
After all this, the phone can access the internet through the computer. Two problems appeared:
1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.
2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.
So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection
View 3 Replies
View Related
Jul 6, 2011
I connected my laptop running with Ubuntu 11 in the LAN but I couldn't access internet.But I could ping to the other computers connected in the LAN. I tried the same thing with windows 7 in the same laptop and I could access internet.
View 1 Replies
View Related
Apr 30, 2010
I don't know if i should of put this in either Networking or Dell Forum. But here goes. I have a Dell Studio 1535 Laptop, and i have downloaded the new ubuntu 10.04
The problem is, is that i cannot get a internet connection. On my laptop there is a wifi sign that lights up if it works, and it didnt when i booted it. So i thought i have the driver downloaded and i tried to install it and it installed but after it crashes, so that failed. And then i tried via Ethernet and it does not connect when i connect it to the router!. It just says disconnected everytime .
I have tried to reboot, just incase it was a bad boot or something, and i stil get the same. It just will not connect to the internet
View 7 Replies
View Related
Apr 30, 2010
I pay for wifi usage. The access points are using mac address filtering. I know this because I can spoof the mac of another computer of mine and get it online. I'd like to get both the computer's online. I've been trying to do ip masquerading. It hasn't been working so far. I am not sure if the computer connected to mine through a cross over cable is revealing its mac address to the access points when communicating. If so, how does one get around this? ping shows connectivity between the two computers.
View 4 Replies
View Related
Nov 17, 2010
I am fairly new to Ubuntu/Linux and I have somehow managed to get a server up and running. For the past few months I have been trying to get masquerading working.
I have 2 network cards
eth0=Internal Lan IP address 192.168.0.254
eth1=router External IP address 10.0.0.1
I want all my internal lan traffic to go through my linux box & only have port 80 & 3128 go through squid. So for all pop3/smtp action I want the linux machine to act like a router & for port 80 & 3128 I want it to go through squid.
View 9 Replies
View Related
Sep 24, 2010
I have dual boot system and on windows I am able to connect to wireless but on Ubuntu I am not able to connect to wireless.
I desire to learn to trouble shoot the problem my self hence I would appreciate if some one guides me How to look for the problem.
and how to find what is wrong and right
That is why I am not posting any output here but rather would like to learn to solve the problem by myself
View 1 Replies
View Related
Jan 17, 2011
I can't connect to the Internet using firefox in F14. bu I have received update notices presumably from the internet in gnome.
View 2 Replies
View Related
Jul 19, 2010
writing a script that will enable/disable internet connection on the one of the machines in the network(be it a DNS clearing or something else).
View 3 Replies
View Related
Nov 13, 2010
I have a couple of interfaces in a Fedora 14 box:
eth0: internet provided by an adsl router
eth1: LAN
I set up system-config-firewall to masquerade all outgoing traffic in eth0, as I did in other Fedora 13 boxes, but it seems it doesn't work. It sets to 1 /proc/sys/net/ipv4/ip_forward and also set the appropriate rules in iptables. But all traffic is blocked from the LAN to the Internet. "ping www.google.com" works in the Fedora box, but doesn't work in the LAN computers using the F14 IP as gateway. I have another F13 computer elsewhere configured this way and it works fine. But this one has Fedora 14.
View 2 Replies
View Related
Jan 11, 2010
I recently installed Ubuntu 9.10 on my Dell Inspiron 1545 64-bit laptop. Before that I used Windows7. In Windows, the internet connection worked perfectly well. But after installing Ubuntu, I am unable to connect to the internet. The network-manager applet finally says that "You are disconnected". When I do the "ifconfig", I got no IP address.
So, I installed Ubuntu 9.04 in the same system. But the problem persists.
I gone through many posts in this forum but nothing was useful.
View 9 Replies
View Related
Jun 21, 2010
I have an external hard drive connected to my router. From Windows I can access it, but from Ubuntu I can see the hard drive, but when I try to access, I'm asked for a password. However my network does not have a password neither the hard drive.
What must I do?
View 9 Replies
View Related
Jun 12, 2009
Ubuntu desktop 9.04 Whenever I try to copy files to any machine on the network, the transfer stops and I no longer have access to the network or the internet. This happens whether I'm doing scp, copy with the gui, when copying to windows machines, and when uploading database files with phpmyadmin. I have been able to successfully transfer large amounts of data outside of the network via ftp, but not to any on the network. I've discovered that I can re-enable network access by restarting NetworkManager.
View 1 Replies
View Related
Aug 26, 2010
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?
View 3 Replies
View Related
Feb 7, 2011
i need to discover all network nodes and their ips is their a way to do it, then if i need to discover certain nodes which runs certain program. I'm using Fedora14 and FreeBSD
View 2 Replies
View Related
Feb 5, 2011
Could you pleaseme out.I have installed Virtual BOX on windows 7.Ubuntu i have installed on virtual box.Now i want to access internet from the Ubutu VM.
View 5 Replies
View Related
May 16, 2011
I'm trying Ubuntu 10.04 but I can't figure out how to connect to the Internet. I've run lspci -k & sudo lshw -C. This is the result code...
View 3 Replies
View Related
May 27, 2011
I am new to Linux, But, I installed it, all went well, but now, I can't access the Internet.So, I don't know what info you guys need, so just ask.Also, if it helps, I am using Ethernet (Well, I think it's Ethernet, it is a yellow cable with a rectangle end.
View 8 Replies
View Related
Jan 25, 2010
I can not access the internet from within ubuntu. I have tried pidgin firefox and ping but I do not get a reply with any of them. I do however get full access using Virtual Box OSE running Windows server 2003 running inside the machine. This is not a one off as I often have trouble connecting to internet from inside ubuntu but usually disabling then enabling networking works.
My system:
OS: Ubuntu 9.10
Wireless card: Edimax wireless 802.11b/g Turbo Mode PCI adapter.
Here is the corresponding bit from lshw:
Code:
*-network
description: Wireless interface
product: RT2561/RT61 802.11g PCI
vendor: RaLink
physical id: 0
bus info: pci@0000:05:00.0
logical name: wmaster0
version: 00
serial: 00:1f:1f:24:43:ca
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci ip=192.168.1.255 latency=32 multicast=yes wireless=IEEE 802.11bg
resources: irq:20 memory:ea100000-ea107fff
I'm really confused as to why a VM would be able to access the net and not the host.
View 12 Replies
View Related
Jan 5, 2010
I have a Compaq Presario R3000 with Ubuntu 9.10 32 bit that I just installed last night. I'm using a Zyxel G-102 Wireless card and Actiontec GT701WG wireless modem.
When I try to connect to the 'net, the network does show up and it connects strong (100%). It also shows multiple neighbors networks. It pings at 99% success (with over 900 sent as I write this) but when I open Firefox it can't connect, it just times out. I've used WEP security and have switched off security as well. I tried hooking up to the modem via USB and get the same result. It acts like a Firewall issue but there isn't one installed - at least that I can find and the Firewall in the modem is off. I ran FF in root with gksu firefox as suggested in another thread. I tried www.ubuntu.com and the header loaded but that was all. Then it timed out.
I'm new to Linux but have used Puppy Linux with this machine and card, etc. so I know it can/does work with Linux. I wanted a more refined distro and chose Ubuntu.
View 9 Replies
View Related
Jan 21, 2010
the bsnl modem cannot access the ubuntu 9.10
View 2 Replies
View Related
Feb 13, 2010
I have a usb modem : huawei e220.I am using ubuntu 9.10. I can't access the internet using it. I made a connection form the mobile broadband tab but every time it disconnects .Ubuntu identifies the modem but every time i try to make a connection it fails.
View 5 Replies
View Related
May 29, 2010
I have used other distros on and off in the past with no trouble, but for some reason I seem to have had this problem with several versions and flavours of Ubuntu on various systems. I've never solved this problem the previous times I've had it, just given up. But this time I actually need to get this working. I've recently upgraded my computer, so my old system has been relegated to HTPC duties in my lounge. I installed Ubuntu 10.04 and I'm having issues getting internet access with some programs, while others work fine.
Firefox and Evolution haven't been able to access the internet from the start.Empathy IM has no trouble connecting to my MSN and Facebook accounts.I had no trouble downloading and installing Google Chromium browser through Ubuntu Software Center, and have no trouble accessing the internet with Chromium.On the first boot after the install, Ubuntu automatically told me to update my nVidia drivers online, and did so without error.Update Manager detects updates, but fails to download them.
I successfully and flawlessly downloaded installed XBMC Media Center and some related skins and things through Synaptic, but XBMC cannot access the internet. However it can access shared files over my LAN, including Windows 7 shares.Ubuntu itself cannot access any files on my Windows 7 computer. It can access the work group and see my Win7 shares, but refuses to mount them. Strangely, XBMC can access these shares and stream media from them fine.
View 3 Replies
View Related
Jun 21, 2010
I recently installed Ubuntu 10.04 and it appears to be working fine except for one problem: the internet access does not work at all. It is supposed to connect through a wired LAN and can talk to the router but when it comes to opening a webpage or pinging a server it doesn't work. Firefox says that it can't connect and the ping does nothing.
The computer can connect fine when booting Windows XP, but on Ubuntu it can't. Here are some details about the two OSes:
XP: Connects to network and internet
Ubuntu: Connects to network but can't mount the 'Windows Network' folder which is the only thing in the Network directory. Can't connect to internet.
I'm on a Dell Dimension 2400.
View 5 Replies
View Related
Jul 11, 2010
I just Don't get it I did a lot of research before I downloaded ubuntu to put on a netbook because I wanted so badly to get away from windows all the raves were about ubuntu being the best I really like it except I have been so frustrated because I am not able to set up a internet connection. I am trying to use my blackberry 8320 from tmobile for this with the unlimited internet and blackberry package the net book is an acer aspire AOA 110. This is what I have tried and I am getting so frustrated.
1. paired blackberry and laptop with bluetooth both recognize each other but laptop only recognizes the blackberry as an A/V remote control so it wont even let me set up DUN it gives me 3 serial port options to connect to Dialup Networking (which the connection fails on every time) blackberry desktop servive and blackberry bypass service which it will let me connect to and it tells me they are connected but when you go to the browser and try a website it wont open a web page.2. I have obtained all the information from tmobile and tried to use the network manager to set up a mobile broadband connection and I know I have put in the info right but the connection never shows up in the connection manager so I dont know what to do from here with this either.
3. I have downloaded berry for all and have all the necessary things installed then I can get it to recognize the phone but it wont connect either (I read that the program needs to be in root and I dont know how to get it there because I am so new to this linux thing I really want to learn this and this is why I am so frustrated but I need to have an internet connection.Oh and the wireless works flawless if I take the netbook any where there is WIFI it lets me on in two seconds so I at least know I can get on the internet that way but I do not always have acess to it so would really like to get this figured out.
View 8 Replies
View Related
Sep 9, 2010
can no longer access the internet,Deleted Network Manager thinking I could reinstall it and it would be back to its default settings. Had not been able to get online for days. Offcourse now I can't get Network manager back as I have to be online for that. I think I had stuffed up the proxy settings but can't work out how to get that back to default either. What do I do now and how do I do it?
View 2 Replies
View Related
Sep 17, 2010
I cant connect to the internet with my wireless( or my lan for that matter, but i mainly want to use my wireless). I am going to follow the ticket provided by one of the sticky threads [URL]
1.Machine Brand and Model
Actually i am using a computer i built myself using following components
AMD Phenom II x4 965 CPU
ASRock 890FX Mobo
[Code]....
View 4 Replies
View Related