Networking :: Set An Internet Bridge For Windows Clients?
Jun 18, 2009
having trouble connecting to many websites due to recent actions of the Iranian government on banning a lot of websites.That's why, I decided to make my computer act like a bridge for their computers, so that they can surf the web using my Internet connection in US. I have Arch linux running on my desktop. I tried to install OpenVPN based on the instructions at ArchWiki page, but I had no success. I guess OpenVPN is too much for what I want to achieve and ArchLinux repositories don't have all the necessary packages to configure it based on some posts I read.
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
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...
I want to connect my dataone broadband connection in bridge mode in fedora 7. As i am currently using a bridge connection through this modem (smartAX MT882) in win XP, i want a bridge connection in fedora 7 too to access the internet from linux. I have gone through some forums discussing this issue. somewhere i have found the option "adsl - setup" and tried it in my fedora 7. But it is showing the message "adsl- command not found" on this issue. I need a detail step by step procedure for brigde connection using datone in fedora 7.
I'm sure this is a bridging issue and there is just some option I'm not setting correctly. Also, the reason I'm connecting the Xbox 360 directly to the linux box and not to the router is for traffic monitoring purposes. Note that all connections and functionality work perfectly when the Xbox IS connected through the router.
I setup a network bridge on pc A, with windows 7 installed on it, using windows default bridging tool. I connected computer B to computer A and Im trying to connect to the internet through the network bridge on computer A. Computer B (client) has two OS's installed, win XP and linux(tried with different distributions, didnt work). On windows XP everything is working, when i try to ping the router (after computer A) it also responds. On linux system nothing is working, and im not quite sure why.
I set up linux to receive IP adress from DHCP, which is router in this case (behind computer A), same way windows XP was configured. I decided to ask here, because I couldn't find anything on the net. My guess is windows-made bridge supports only windows-OS's but that would be kind of strange (its just a software bridge).
I'll state the issue and then give whatever extra details are needed. I'm running Ubuntu 10.xThe Linux box is connected to a router via ethernet. That Linksys router is bridged to an AT&T router.The bridging is working fine. The AT&T router's page shows the IP of the Linux box and lists it as a device. The Linksys page shows no errors with packet transmission and receipt. I can ping the Linux box from any client on the AT&T router, and can ping the AT&T clients from the Linux boxI had set the IP of the Linux box to192.168.1.201 while configuring that router, as I had set that router to 192.168.1.200 and it just seemed orderly.The network preferences show eth0 being set to auto dhcp, but the IP is still set to .201 so I don't know that it actually released or renewed.
i have successfully setup PPTPD on my server and I can open a VPN tunnel but my clients can only ping the server's IP, they don't have access to the internet through the VPN.
i have searched different forums and understand that I have to create a route on the server to route packets between the VPN interface and my internet gateway, but I didn't manage to get this work.
here is what my setup looks like:
Code: root@r31495:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:1c:c0:c7:13:35 inet addr:94.23.197.XX Bcast:94.23.197.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
got an asus wl500gp v2 and i just had to reflash it. Flashing went through fine, but while setting up the PPPoE connection I got stuck. Here is what the configuration looks like:ADSL Modem ---Ethernet--- Router ---Ethernet--- Laptop I set up OpenWRT to connect over PPPoE over the WAN port and the connection is established:
PAP authentication succeeded peer from calling number XX:XX:XX:XX authorized replacing old default route to br-lan
I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.
my both linux and windows has 2 network cards each.
basicaly it is vLan cards, each server has 2 network cards. one to main switch and one to local IP.
data will be going like below:
internet ----------------> eth0 --> linux --> eth1 ----------------> Windows.
i have vLans on both servers. And i need cross connection setup. And use linux in bridg mode / cross connection .
actualy i want to use Iptable rules to filter bad packets and forward good packets to windows. i have scripts how to forward packets to windows. but the problem is i dont know how to setup both servers in this topology. and how to make linux as bridge.
All it should be in transparent mode. Not in NAT mode.
I already have Linux Enterprise 5 system installed with some server packages such as Webmin, Active Directory, Web Server which also act as Internet gateway. Now I want to add firewall functionality to block clients ip accessing internet.
I have a client in Pittsburgh that has a Mac server and a Linux (RHEL) server on a LAN. They have a Netgear FVS 318v3 router on which they had a VPN running. They could do this because they had the router configured for IP-SEC and they only had Mac laptops as clients. I'm told Mac laptops can be configured to connect to IP-SEC VPNs, but Linux (I have Ubuntu) clients cannot.
I'm told that we need an PPTP VPN, and that the Netgear can not act as an endpoint, but can pass PPTP traffic to one of the servers if we set them up as a PPTP server.
We hired two different network consultants to set up the VPN, but neither one is able to set up a VPN to allow both the Mac and Linux laptops to connect.
Why is this so difficult? Lots of companies have VPNs that allow any client to connect.
Would it be better for us to purchase a different router that can act as a PPTP endpoint?
Do I want the router to act as a PPTP endpoint, or would it be better for me to use the Netgear and set up a PPTP service on one of the servers? Or, is there some better solution?
I have 17 system (sys1,sys2,sys3.....sys17) in my office, and i am willing to setup a dedicated system to act as a firewall for that i have selected sys1 with two NIC(eth0 for local network and eth1 for internet) and i have configured to access internet in my office for that i have opened a wellknown port 80.but my clients are not accessing the internet..
and please check my sample IP configuration !!!
interface : eth1 (ISP IP)just for example IP :192.168.0.2 gateway:192.168.0.1 dns:202.56.230.5 dns:202.56.230.6
Interface : eth0 (my local lan )
192.168.1.1 255.255.255.0
IP address of xp clients ranges form 192.168.1.2 to 192.168.1.16 with default 255.255.255.0
my question is that which gateway address and dns i have to give to my clients for accessing internet ?...
fedora (iptables) eth0 -private :192.168.1.1 eth1 -public : 186.117.50.6 squid proxy 192.168.1.10:3128 my clients range 192.168.2.0/24
how can i make my clients to browse internet only from proxy server my network is NAT 'ed. Please specify a iptable rule to allow internet access for my clients to browse ONLY if they come through proxy server.
i have Centos 5.3 installed with TXT mode i want to create and share one folder to be accesible to me from the network, to download and share files into it with my Host, i created the folder but dont know how to share it,
Here I am editing /etc/samba/smb.conf and trying to remember what I should chmod the directory and the files to, then I think to myself there's probably an easier way. That way should be clear to the user.
There's dropbox and Ubuntu one but these are something slightly different, these sorts of things involving a cloud service or something needing to download to Windows clients, which is not what we want if we don't have an internet connection. So, is there a better way? Something to aide making smb.conf and permissions perhaps?
I have been able to accomplish my goal of creating an AD-like authentication using LDAP,SAMBA and LAM. From what I have seen you can have this type of setup but it doesn't allow the passing of group policies to the desktops of the users.
I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.
However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.
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 installed opensuse 11.4 xen on a HP ML115 G5 AMD Opteron server, which previously hosted a fully working opensuse 11.3 xen. The problem seems to be that br0 is not showing as a bridge device in network settings. When I first installed opensuse 11.4 networking was available via dhcp, I then installed the xen tools and answered the prompt to create a bridge, it was only when I re-booted the system that I lost my network connection.
Going back into network settings I compared the settings to an existing working opensuse 11.3 xen install that I have and noticed that br0 is not showing as a bridge device in network settings so cannot be selected, in fact no bridged devices are shown.
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 do not understand this command well. Yes, I have looked at man route and that whilst that gives lots of information about the switches I cannot see it in context. I have a server with two nics. One to the Internet (eth1) and one to the lan (eth0). I use pppoe and when it is running I get a virtual adapter appear in ifconfic called ppp0 which shows the public DNS and ISP session IP. I entered the command: route add -host (gateway IP) dev eth1 and get the Internet to appear on the server. However, I do not get the Internet to the clients. I have turned off the firewall to be sure that this is not the problem.
I must be very thick as i cannot seem to get my dhcp clients to connect to the Internet properly. on my lucid server i installed dhcp3 server and bind9, i can ping and dig all on the local network. on the clients however, as soon as i go out of the local network there's messages like "unknown host www.google.com" or "network is unreachable".
I've been able to make my server connect to my clients but not able to share the internet connection. I've been searching around but haven't come across an answer yet. Hoping someone here will point me in the right directiong. I have the following setup running. I'm trying to make an internet connection go through my server but haven't been able to get it to work.
before i used Ubuntu(i was hiding under a rock) i had my wireless network and Ethernet bridged so that i would be able to broad cast my network printer to the home network. i switched to Ubuntu and it is rather annoying to have to shutdown Ubuntu and boot windows just to print a document
I have an adsl modem acting as a bridge to my router my setup was working well for more than year now , but then the internet went slow . I set the modem back to PPPoE the problem was with the DNS server of the ISP so using ifup i set the dns t 8.8.8.8 (google) the connection is back , but when i set the modem back as a bridge slow internet does the router know that my dns is 8.8.8.8 or i should set the dns on the router ? I can't see an option to set the dns on the router ( i just enter my username and password from the isp to use PPPoE mode ) by the way i called the isp support they kept telling me to restart , i told them i did but i never restarted my pc . I'm sure if i tell them i'm running linux they will blame the os !
I have setup a dhcp server on eth0, & i have static Internet connection on eth1. now clients are getting ip automatically, they are able to trace root upto eth0 & eth1. but i am not able to access Internet from client machines. i am using open suse11 as a server. i am not able to do telnet & ftp also from client. i am able to access Internet from server. so please help me to configure my server so that i can access Internet from client machines also.