Networking :: VPN Server And Internet Gateway
Apr 2, 2011
I just set up a linux server which is acting as an internet gateway. For specific reasons, clients first make a vpn connection trough the internet to the linux server.
CLIENT ---->Internet----->Linux VPN Server ------> Internet
On the linux server iptables is configured for NAT. The problem is that the internet speed becomes slower than expected. I used windows and RAAS and the speed was pretty good. The server has only 1 NIC(eth0) and an alias interface is added to eth0. The alias is eth:0 with ip address 192.168.0.253
iptables config is as follows:
iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD DROP
iptables -F FORWARD
iptables -t nat -F
iptables -A FORWARD -d 192.168.0.0/24 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to MY_VALID_IP
View 1 Replies
ADVERTISEMENT
Feb 14, 2009
Since I have a new internetaccount, 2 days ago, I have a problem on my server [Fedora Core 8]. I use it as a router.
eth0 is for the internet.
eth1 is for my LAN.
But since my new internetaccount my server uses eth1 for the internet. This is a line from my syslog:
Code:
NetworkManager: <info> Policy set 'System eth1' (eth1) as default for routing and DNS. I killed the NetworkManager daemon and now it works but this must not be the way to do it? Where do I tell my server that I use eth0 for routing and DNS?
View 1 Replies
View Related
Apr 23, 2009
Can any one suggest which versions and flavour of linux is best suitable for GATEWAY server or in which version and flavour of linux this gateway server is available, which is used for internet management with MAC locking.
View 7 Replies
View Related
Jul 2, 2009
I haven't worked with linux before, I am a network administrator, mostly working with cisco routers and windows 2003 server configured with ISA, I want to shift to linux, since its a free OS, offers more than windows 2003 server, and I have the time and resources to test it at my work place, I want to give it a try. Now ... this is what I want:
I want to use Linux OS (server or desktop editions) as Internet Gateway, I have less than 50 hosts (internet users) on my network, and I simply want to know what is the most convenient linuxs distro for me to work with as a beginner to install, configure and administrating a linux OS(working as an Internet Gateway).
Its a simple network, 50 users connected to a switch, the switch to a server (where I will run the linux OS), the server to a cisco router, the router to the internet line. (Any tips on what do I need to be able to configure firewall rules and user activity monitoring like I am used to do with ISA on windows server 2003).
View 5 Replies
View Related
Feb 5, 2009
What I need is some information to be studied and learned by me in order to be able to create with Ubuntu Server an Internet Gateway Server. From my ISP I get about 50 public routable IPs through DHCP. Into my LAN I need to forward this public routable IPs to machines but I want to be able to manage bandwidth and also to be able to enable or disable Internet access for every client machine. Maybe with subnets? Maybe with dchp really? It would be nice if it would possible through DHCP!
View 2 Replies
View Related
Nov 28, 2010
I want to configure an Internet Gateway with having proxy, firewall rule, bandwidth controller for an office containing 100 employee. can anyone suggest me which platform will be best and steps how can I implement it.
View 5 Replies
View Related
Sep 4, 2009
I have installed fedora 11 64 bit on a new computer. I have no problems accessing the computers on my local network, but can not get past the gateway. The gateway is running windows XP with IP address 192.168.0.1 and is named "internet". When I boot the new computer in windows, there is no problem. Here is the output of some commands I saw in other posts with similar problems:
$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:24:8C:7F:10:0C
inet addr:192.168.0.245 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::224:8cff:fe7f:100c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[Code]....
View 13 Replies
View Related
Jun 19, 2010
Whenever i used to setup a new connection in Windows it would just ask me User name and password here i need to fill up something called as "Gateway" !? The connection won't be accepted unless i fill up something in there... So, what do i put in there? I'm on a LAN of 3 computers connected with a router.The router takes one wire as input from the modem(cable).
View 9 Replies
View Related
Sep 27, 2010
have a netopia 3347-02 Wireless ADSL Gateway that i got from at&t. i am no longer with at&t.i switch over to cox. I have the cox modem. i also have cable on the modem. when i connect a ethnet cable from cox's modem to my laptop my internet works. but i want to use the netopia 3347-02 Wireless ADSL Gateway that i got from at&t cause of the wifi. when i login & connect to the netopia 3347-02 Wireless ADSL Gaut it in bridge mode.internet works fine, but im not able to use wifi, im also not able to login into the admin page. i have to do a factory reset on it so i can log back in. So how can i make it work with cox modem?
View 4 Replies
View Related
Feb 6, 2010
i did install opensuse and everything ok; i did configure it to be the server and gateway for a little office network Everything seems to be ok most of the time but sometimes (usually between 5 and 7 pm each day) internet stops working and there is no way to let it start again. So i turn off the suse, switch all cables to the old fedora server, just turn it on fedora and internet works. Turn off fedora, connect suse, let it start and everythng ok...it happens all the times
View 9 Replies
View Related
Sep 23, 2010
Previously had 2 Ubuntu computers setup Computer A (192.168.1.101) <=> Computer B (192.168.1.100) -> Internet Computer B was the gateway, and it is dual boot, one drive Ubuntu, one drive XP. I'm using XP as the gateway now, but Computer A is extremely slow, virtually nothing getting through.
Have checked sysytem logs, verified /etc/hosts file, and all the network side of things. Can ping either IP adddresses from either computer. On the XP side, have modified hosts and lmhosts, and the XP computer has very fast internet connection.
Did have Commodo firewall running on the XP, disabled that, and checked that no Windooze firewall was running. Have restarted the network on both computers a number of times. Can't figure out what the problem is. It's obviously on the XP side, as when I booted to Ubuntu (previously) on Computer B, the gateway worked just fine. Have checked the whole tcp/ip side of things on XP; seems to be okay.
View 2 Replies
View Related
Sep 13, 2009
I have 1 root-server with 2 NICs, both having their own internet IP addresses:
Code: eth0 = 8x.x.x.183
eth2 = 8x.x.x.205 We only have one gateway on that network:
Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.
How can this be setup ? With route / ip route / iptables ?
View 1 Replies
View Related
Jul 29, 2011
I have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
My gateway is 192.168.1.1 and my static IP is 192.168.0.2.
View 3 Replies
View Related
Sep 7, 2009
Am working as net admin in an institute.. I have Leased Line connection with Public IP? I configured Red Hat Enterprise Linux 5 as Internet Server. I successfully Configured squid and as well as Internet Gateway in my Internet Server.. All are working fine in my client PC environment.. I have one Series Problem in my all Windows Client Pc.. When I try to surf Microsoft and Any Anti-virus site through squid(port no 3128) is fine?but when I try to surf the same Microsoft or any anti virus site through Linux Internet gateway then I got ?Page can not be displayed error?? but all other sites are surfed well through Gateway.. I felt some spy ware is attacked in my All windows Client PC.. So only it ll block Microsoft or any anti virus site through Linux Internet gateway(default port 80
View 1 Replies
View Related
May 12, 2010
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 ?...
View 1 Replies
View Related
Mar 4, 2011
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code:
lancer@lancer-desktop:~$ ping www.google.com
PING www.l.google.com (74.125.237.17) 56(84) bytes of data.
64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms
64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms
64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
View 1 Replies
View Related
May 27, 2010
On a remote system, when all you have is the ssh CLI -
How do you find out the ip addresses for:the Gateway
the DHCP server
the DNS server
Don't need to make any changes.
Which commands will display this info?
View 1 Replies
View Related
Jul 11, 2011
I am trying to get a Linux (Slackware 13.37) working in a Windows networking environment. The IT support for this organisation does not extend to Linux support, so I'm limited in what help I can get for this.
I'm trying to get to the point where I can get to the internet to download what I need on this Linux machine.
The situation is this (*fictitious addresses used) -My Linux machine uses a fixed IP address (10.100.150.21)
My Windows machine uses a DHCP assigned IP address (10.100.150.213)Both Linux and Windows machine are configured to access the gateway server (10.100.150.1)So, I can ping the Linux machine from the Windows machine and vice-versa.I can ping the gateway machine from the Windows machine.I can browse Windows Shares on the network via SMB from the Linux machine.I CANNOT ping the gateway machine from the Linux machine with the Destination Host Unreachable message being the error message.
For actual internet access I need to access a proxy server but since the Linux machine can't even ping the gateway server, it fails to ping the proxy.Now, I have been told the gateway is a HW based router and for Windows machine they use some software for authentication to connect to the network. This software isn't available for Linux, so that's why I've been told to use a fixed IP address.My experience of networking is pretty basic and most of the Linux setup is done via running Slackware's setup program.
View 12 Replies
View Related
Aug 1, 2009
I got 2 servers, each on different locations (server 1 and server 2). I want all traffic on server1 included web browsing, applications etc., be always going through server2, like a gateway. I want the traffic to be encrypted (maybe use VPN?) So if I browse, or any logs pick up ip adresses from applications used by server1, I want it to display the IP address from server2 (Might be the wrong way to say it).
I always wants server2 to act as an firewall and logserver that logs all the traffic. I was thinking about using Snort for IPS/IDS solutions and OpenVPN for the traffic, but what can I use as a firewall? Most firewalls I find on google has its own OS/Distribution. Maybe Squid for logs? But squid does not support much protocols. Distribution on both servers are updated Debian/Ubuntu based.
View 3 Replies
View Related
May 11, 2010
setup 2 gateway in my email server(opensuse).
now i wan to setup 2 internet lines for my email server, which mean that either one of the line is down, i still can receive mail from another line.
Example
Internet line 1 = ISP1
Internet line 2 = ISP2
my email server got 3 nic which...
eth0 = 192.168.1.2 (255.255.255.0) (from ISP1 GW 192.168.1.1)
eth1 = 192.168.2.2 (255.255.255.0) (from ISP2 GW 192.168..2.1)
eth2 = 168.168.1.2 (255.255.0.0) (connect to local LAN)
now existing GW set on the server is 192.168.1.1, mail receive and send through ISP1. now we wish to set somethings that once the ISP1 line is down, the server will auto switch to ISP2 gateway and continue send and receive mail without manually change of settings
View 9 Replies
View Related
May 29, 2011
I have been searching google for a while now and have not found exactly what I am looking for. I would like to use my fresh install of ubuntu server 11.04 as my router/gateway for my home. I am not an expert at linux by any means but I can usually figure stuff out. I believe I need iptables, bind, and a few others probally. It eventually will also be a samba server but I have done a little with samba before. I do have 2 network cards, my router at the moment is starting to die and would love to have a more powerful router. I would also like to figure out how to do port forwarding in the router, as well as be able to see the load on the network cards. Maybe there is a program to show usage by user? As well as be able to do packet pritorization.
View 4 Replies
View Related
Jul 20, 2011
I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.
View 2 Replies
View Related
Jul 2, 2010
I posted it on another forum, but could not get response,So I have this cenOS, Ubuntu and windows operating system running on virtual machines.Now I gave them manual ip address, both ubuntu and windows machines can ping the default gateway, but not the CentOS.It should forward 0.0.0.0. to my cisco router address(192.168.5.254),
View 4 Replies
View Related
Jun 16, 2011
I have installed dhcp-server on ubuntu. And server is providing ip address to clients (Window machines) but not default-gateway but I have another network in my network and same configuration and same dhcp-server provides every information.
View 5 Replies
View Related
Mar 26, 2009
I have setup an ubuntu gateway server by using four NIC cards.
eth0 :210.212.235.107 is connected to the internet
eth1 :192.168.1.222 is connected to the local network
eth2 :192.168.2.222 is connected to another network
Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.
View 1 Replies
View Related
Jun 29, 2011
I need to place an Ubuntu machine on a network where I have a DHCP server which does not configure the Degault Gateway parameter (we don't want ordinary users to browse the internet). Is it possible to leave the machine using DHCP and define the Default Gateway manually (as in Windows XP i.e.)? How?
View 1 Replies
View Related
Jun 28, 2010
I'm having some difficulty with a internet/vpn setup. I have 3 network adapters on the server. 1x is used to connect it to the rest of the network 1x is used to provide internet (squid,dansguardian) 1x is used to connect to the vpn router
My interfaces file looks like this:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
[Code]...
The problem that I have is this: When the gateway on eth2 is set to 10.0.2.2 the VPN works 100% but there is no internet. When the gateway on eth2 is set to 192.168.0.6 there is internet but no VPN.
So what I want to do is, route all traffic that is supposed to go to 10.0.2.0/24 and 10.0.3.0/24 to eth2 and all internet traffic to eth0.
View 6 Replies
View Related
Jul 11, 2009
I have installed eeebuntu NBR on my laptop and it looks great on a 17 inch widescreen. It looks so different from the usual interface that I get people ask about it and I can evangalise without being considered a boring weirdo! Anyway, I have one problem. Every time I boot I have to run the following command.
Code: sudo /sbin/route add default gateway 192.168.0.1
How do I get this to happen automatically (as it normally does)?
View 3 Replies
View Related
Jun 11, 2009
I have been messing around with Ubuntu on an old PC I have and I really like it so I wanted to dualboot the family PC with Vista and Ubuntu to see if I could also convert my parents into linux lovers too. I got ubuntu installed on a seperate partition and everything boots fine, but when I'm in Ubuntu, it won't connect through our wired internet but if I'm in Vista, the internet is fine. I really want to start using Ubuntu on this computer but there is virtually nothing I can do in Ubuntu without the internet working. I also posted on ubuntuforums but they have only asked me to get them a bunch of codes from the terminal, that unfortunately I can't read.. but maybe some of you may know whats going on. [URL] This is the link to the other forum with all the information. The computer is a Gateway GT5622 with a Integrated Realtek 8111B 10/100 Mbps Ethernet LAN.
View 5 Replies
View Related
Jan 20, 2011
i have a leased line ( speed 2 MB ) which we use to connect to our mail server , oracle ERP etc.. we have a dhcp scope defined as 192.168.100.1-192.168.101.254. with a default gateway as 192.168.100.90 ( which is a cisco router ) we have a pix firewall ( 192.168.100.10 ).. now the gateway passed all the request to firewall..we have an ADSL of 4 MB speed.. ip is 83.*.*.230 from ISP. i have a proxy server ( squid ) eth0 is connected to ISP (83.*.*.230).. eth1 to LAN ( 192.168.100.79 ) now the problem is when i put default gateway to eth1 ie 192.168.100.90 the squid connects to internet via leased line.. if i leave the default gateway field empty on eth1 , the squid connects to internet via ADSL ( which i want ) but the problem is no one on the lan cant ping the squid server ( no connectivity to internet for the whole LAN ) how can i solve this problem? PS : i want squid to connect to internet with ADSL, but if i put gateway on eth1 ie LAN squid goes through leased line which i dont want to happen
View 1 Replies
View Related