General :: How To Use Nat To Share The Connection
Apr 9, 2011
i have a linux box connected to internet using a serial port ppp0, and there is another linux box that connects using a wireless ap. how do i use nat to share the connection.
192.168.0.50 192.168.0.30
[Modem]--------[M1]---------[Wireless AP/Router]----[M2]
Private-192.168.0.20
Public-Dynamic IP
View 1 Replies
ADVERTISEMENT
Aug 24, 2009
I have one Squid server which was configured to share internet on our networks192.168.20.0) PCs Serrver:192.168.20.25:8080It is working smoothly.Now my problem is that I has to configure one sub server that should allow internet to our 192.168.22.0 network with 3128 port. The sub server will get the connection from main server and it share the inter net to the internal network.
View 3 Replies
View Related
May 30, 2010
How do i get Ubuntu to use the wireless signal i am using now and output it on the Ethernet Card. Ubuntu knows how to access the web through them both. It just wont share the connection.
View 1 Replies
View Related
Mar 5, 2011
I use Linux Mint 10 and have been on Linux for about a year now. I'm no expert, but I can sort of find my way around. My problem is that I am not able to set up a LAN and share my internet connection through a crossover cable. I have a USB 3G data card for my internet connection, and getting a router for it is a mite expensive. I have a crossover cable and searching on the net led me to believe that I could do what I want to. The only problem is that I am unable to.I've got two desktops both on the same Mint 10 and when I connect them assign an IP address and gateway, my network manager shows that the connection is up, but I'm not able to ping the other system. I've even exited my firestarter firewall in case that was what was causing the problem, but I've not found a solution as yet.My knowledge of networking is at that dangerous stage where I know very little, but think I know a lot. What I've learnt about networking I've learned over the past one month when looking around for solutions to my problem but my basic understanding leaves a lot to be desired.
View 6 Replies
View Related
Jun 21, 2009
I have installed Fedora 11 recently. I want to share my Internet connection.
I have e LAN connection eth0 which is connected to internet.
I have a Wireless connection wlan0.
I want to share my internet connection with wireless connection.
View 3 Replies
View Related
Feb 4, 2010
I have two linux laptops. Currently, I'm using both of them at work, side-by-side. Now the problem is, I'm connected to a wireless router, but the wireless only works on one of the laptops. So I'm stuck with one laptop that has no access to the internet. Both machines do, however, have working ethernet nic cards. So, I was wondering if I could use the laptop with the wireless connection to share the internet connection with my other linux machine and access the internet on both of them. Or as an alternative, just use the internet on the machine without wireless and be able to switch back and forth, that would increase my productivity like 30 fold.
View 5 Replies
View Related
Jan 9, 2011
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.
View 3 Replies
View Related
Apr 30, 2011
I am trying to share vpn connection between my network without any luck.
Here is how my network is setup.
Main DNS server with 2 NIC's:
Code:
Code:
My iptables
Code:
With those setting i am able to share my internet connection, however, when i try to connect to vpn server using openvpn it seem i am connect to the vpn server but i dont have any internet internet connectivity even on the dns server.
Here my openvpn log
Code:
View 9 Replies
View Related
Feb 18, 2011
I am wondering how I can share connection with my IPv6 connection.
I am using slackware and ip6tables so far. But the problem is that IPv6 or ip6tables has no "-t nat", so how could I just simply share Internet with the computers behind the firewall?
View 5 Replies
View Related
Sep 29, 2009
if u use vnc real and u share the vnc to a guest and u give him the password, and after he ends the look, u want to kill him how can u do that on the xterm i know that vncconfig can do it, but i want to know if there is a way to do it by your self, killing the ip or something.
View 1 Replies
View Related
Apr 25, 2009
I have two Desktops. Both running Fedora 9 and connected to each other with a crossover cable. I have a GPRS connection via a USB bluetooth Dongle. I can connect thru rfcomm on Kppp. Assigned static ip's 192.168.10.1/2 and can ping from one computer to the other. So far so good but now I want to share the internet connection between the two computers and run into a maze of gateways and DNS and iptables and am spinning around with no clues. Some of the things I do not understand are
1. What gateway does one assign when your computer directly connect to the internet through a GPRS and not through a NIC or router??
2. When I try to load the shared NFS folder, why does it say "could not load the location: internal error"?
3. Is there somewhere I could get a step-by step instruction??
View 2 Replies
View Related
Jul 10, 2010
I'm trying to connect two PCs to the Internet (or at least to create a local network) using a crossover cable. My main PC (the one that has two ethernet adapters and is connected to the Internet) runs Windows 7 and my secondary PC runs Ubuntu 10.04.Unfortunately, it doesn't work. Both systems send out packages but don't receive anything. How can I possibly fix this, so that I could use LAN and share the Internet connection between PCs? Does Windows need special software to recognize Ubuntu (or the other way around)?
View 1 Replies
View Related
Nov 15, 2010
I have a small wireless network running IPv6 connected though a 802.15.4 usb stick, and a network connection through eth1. I can access the nodes on the wireless network from my computer, but not from any other on the wired LAN. Also the nodes on the wireless cannot see even the address of eth1. I'm guessing i have to forward all packets from the wireless to eth1 in some way, but am unable to find an guides for this with IPv6.
View 7 Replies
View Related
Mar 21, 2010
Generally I don't like just asking stuff but just can't crack this one. I got a debian machine. My internet connection is on a 3g usb modem. It connects perfectly. Then I downloaded DHCP 3 and then configured it so I got 172.16.0.0 network address with gateway on 172.16.0.1 (set by DHCP) 172.16.0.1 is also the eth0 address and is assigned as fixed by DHCP. With the modem not connected the other PC connects no prob, gets the default gateway and get assigned an ip by DHCP and there is a proper connection with APACHE serving pages. So it is all grand. Where my prob comes in is that I am not able to get traffic from the modem through to the other PC, and at times the modem would not be used as default connection with eth0 up. Restarting the modem fix this but then also drop the assigned gateway address.They are connected directly via crossover cable. The modem is setup as ppp0 according to ifconfig and then ethernet as eth0 and I tried some masquerading allowing all traffic through but does not seem to do the trick.
View 1 Replies
View Related
Mar 8, 2010
I am trying to setup a vnc like situation, not for desktop but for ssh.The scenario is that 2 users connect via ssh to the same server and for one of them to be able to see (and if necessary to take control) what the other is doing.This is for a test server running CentOS 5.3 x86 and googling around couldn't find anything close to my needs.I don't know if it's even possible with ssh but that came to my mind when thinking to remote access.
View 2 Replies
View Related
Dec 20, 2009
I created a wireless ad hoc network using network manager. That was simple. I have friend who doesn't have a wireless card, and still would like to join the LAN. It would be nice if he could have a different IP address Is this possible?
View 2 Replies
View Related
May 28, 2010
Trying to share my internet connection with other computers on my LAN. I've tried doing this with Debian, Ubuntu & Fedora so far...
My Intended Setup is as follows;
The Problem: So far I've not been able to get an internet connection from any computer connected to the HUB. I currenty have Fedora 13 on PC1 but have also tried with both Ubuntu 10.04 & Debian Lenny. I am open to using any Linux based distro on PC1 as long it has a Gnome Desktop. eth0 on PC1 can be Static or Dhcp, but I would prefer to set Static IPs on eth1 & all of the Client PCs
To the best of my knowledge I have enabled ipv4 forwarding in sysctl.conf (& some other changes);
Code:
All changes I made to the Firewall (all other Firewall settings are still at default, no custom rules added yet);
Router is set up to assign dhcp from 192.168.xxx.100 & 192.168.xxx.200
At the moment I have only 1 PC attached to the HUB. It's Ubuntu 10.04 (PC2)
It's details are;
ip 192.168.xxx.103
netmask255.255.255.0
gateway 192.168.xxx.101
Thus Far I can't ping 192.168.XXX.103 from PC1 & I can't ping 192.168.XXX.101 from PC2. (unreachable) I have an internet connection on PC1 (of course)
View 1 Replies
View Related
Feb 2, 2010
From the command shell, how do I get to a network connected drive?I do a "Connect to Server" -> "Windows share" and connect to one of my Windows XP systems. Everything is fine. But how do I get to that drive from the command line prompt so I can do terminal commands or open files programmatically (hmmm is that spelled right?) Thus far, I see no way to do it.
View 5 Replies
View Related
Mar 12, 2010
I have network manager applet 0.7. How to create a wireless network? I have an internet connection and I want to share it with other computers wirelessly.
View 2 Replies
View Related
May 22, 2010
I'm trying to share my wireless connection with my Xbox 360 over lan. Anyone know how to do this?
View 1 Replies
View Related
May 30, 2010
i have two machines both on ubuntu 10.4 connected to a network via port switcher, 2 rj45 network cables auto eth0 is setup to share with other computers, i can ssh in and out of both, so the network is all running but i want to know how to share my single dongle internet connection between the 2 computers
View 4 Replies
View Related
Jun 7, 2010
I have a Dell Inspiron 1525 running Jaunty Jackalope. I have a good working wireless connection.
My daughter has a lot of iPod tunes stored on an old white chiclet Macintosh, which she needs to download to her iPod. Because the iPod is "corrupt" (meaning it was last connected to Windows!), we need to connect to internet.
Simplest way to do that would SEEM to be to plug an Ethernet cord between the two machines and let her Mac access internet via this Dell.
My experience with ethernet is, either it works out of the box, or it doesn't. If it doesn't, I have no idea how to make the connection work.
What do I have to do on BOTH the Jaunty and OSX sides to make the connection?
View 4 Replies
View Related
Jun 24, 2010
I seem to be having quite a big problem with Internet sharing. After doing a clean install of Lucid, I tried to set up a shared connection between my computer and my Roku set-top box. I have noticed that I am only able to set up a connection profile in Network Connections under the Ethernet card with the active Internet connection. That is, whenever I try to set up a connection, I am not given the option of using the second Ethernet card. Thus I can't share the network connection. Can someone PLEASE help me? The IRC has been completely useless.
View 9 Replies
View Related
Aug 12, 2010
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.
View 1 Replies
View Related
Aug 18, 2010
I want to share my internet connection with my netbook which has a Win 7 starter OS. This is what I did: in Network Connections I set the IPv4 Setting of my network card to shared with other computers, plugged in the network cable into both machines, and now they both see a connection. Win 7 only sees the connection as Unidentified network with "No internet access". What should I do?
View 3 Replies
View Related
Oct 29, 2010
I have an internet connection called 'tether0' in ifconfig.I also have a connection eth0 which is connected to a wireless router. I'd like to share the 'tether0' connection with the wireless router, so that wireless clients will access the internet through tether0.The guides I've seen don't seem to apply to my situation.how I should proceed? I'm not very experienced with networking,but understand most of the basic and intermediate terminology.
View 1 Replies
View Related
Dec 18, 2010
I'm kinda new to ubuntu. I have no knowledge working on linux machines I started to use ubuntu just over 3 weeks back and it's quite good over windows machines. I want to know how can I share my pc's Internet connection with my mobile phone (Nokia N70). I've done this with my windows machine with the help of gnubox and mRouter. I want know is there any similar simple way of doing it on ubuntu? I'm having ubuntu 10.10.
View 2 Replies
View Related
Feb 16, 2011
I have two systems in both systems there I installed ubuntu 10.10. I need to know how to share an internet connection over the two systems at a time?
View 9 Replies
View Related
Feb 19, 2011
In the documentation at [URL] it says
Quote:
Note: To clarify the above example here is an example configuration that will work - * 1. You are already connected to the internet using your wireless on port wlan0 * 2. The ethernet port eth0 is connected to the PC that needs to share your internet connection (or you could wire eth0 to a router for multiple machines)
I am trying to do precisely this, with my laptop aready connected to the internet via my HTC Hero on port usb0, and the router needing to share the connection plugged into the laptop's port eth0. Port eth0 is set to "Shared" as the doc describes.
The router in question is an old WiFlyer pocket AP, which has a fixed and unchangeable IP address on its wired port of 192.168.7.77. What happens is that when I plug it into the laptop's eth0, NetworkManager pops up the "eth0 Connected" message...and then "Disconnected"...and then "Connected"...and then "Disconnected"...etc.
I want to be able to share my cellphone's Internet connection through the laptop and out into the WiFlyer so that others can get a wireless connection in a location that has no other form of connectivity.
[Rooting the Hero and making it an AP won't work: it can't run Froyo and it can't broadcast wireless.]
View 6 Replies
View Related
Mar 30, 2011
I am running Ubuntu 10.10 on several desktops but they are not close to my router. I would like to use a wireless connection to go from my router to my Ubuntu laptop, then a wired connection from my laptop to a desktop. My laptop is WiFi enabled and has an ethernet connection.
View 1 Replies
View Related