Networking :: Linux Router / Configure Linux CentOS 5 As A Router Using Iptable?

Nov 27, 2009

I want to configure linux CentOS 5 as a router using iptable, .Im new in linux so I need the steps to do that

View 5 Replies


ADVERTISEMENT

Networking :: Linux Router / Make A Router By Linux?

Mar 26, 2010

How do I make a router by Linux?In other words you want your Linux to work as a router.

View 10 Replies View Related

Networking :: Configure ACL In Linux Based Router?

Jun 30, 2009

I want to configure a ACL Permit/ Deny, what steps I need to keep in consideration.

View 2 Replies View Related

Networking :: Setting Up Linux Box As IPv6 Router To Replace Netgear WNR1000 Wireless Router?

Jun 18, 2011

I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.

As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?

My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?

View 1 Replies View Related

Networking :: Linux As A Router / Bring 147 & 148 IP Online Without Router?

Mar 26, 2009

These r IP provided by my ISP that i've put on Fedora 8:

WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18

Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240

i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.

View 6 Replies View Related

Networking :: Linux OS As Router / Surf The Web Both On Computer And On Laptop?

Feb 20, 2011

I have two network cards in my computer (Debian). One (eth0) is connected to the router which is connected to the internet, the other one (eth1) is connected to my laptop (Gentoo). Now I want to surf the web both on my computer and on my laptop. I obeyed some tutorials "Linux as router":

1. On my Debian system IP-Forwarding is on:

Code:

takada:/home/sam# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

2. Laptop has IP 192.168.0.2 and this is the output of 'cat /etc/network/interfaces' on my computer:

Code:

takada:/etc/network# cat interfaces
# 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

But a ping from my laptop to 192.168.1.1 (router to internet) still gives:

Code:
connect: Network is unreachable

View 4 Replies View Related

Networking :: Linux Router / Config Should Be Done On The Box So That IPs Inside The LAN Can Be Ping From The Internet?

Mar 4, 2010

I am using centos box as a router. WAN side has a public ip and lan side also using a public ip. I configured dhcp server on the LAN side and it is working perfectly, pcs on the LAN side can able to access the internet.

Problem: Considering the fact that LAN IPs is using Public IP and it is presumed that from the internet it can be able to ping IPs inside the LAN but, alas, it couldn't.

No firewall has been config!

Question: What config should be done on the box so that IPs inside the LAN can be ping from the internet?

View 9 Replies View Related

Networking :: Setting Up Squid Proxy To Virtual Linux Soho Router?

Mar 31, 2011

i must make this work with the use of virtual pc's. I have vm player and installed fedora ( the latest version ) and one xp . So i have 2 virtual pc's. I'm making it simple for start so i can add more pc's when i see that it is working. I have setup a dhcp server at the fedora virtual pc. The fedora virtual pc is like a soho router. The xp pc is getting ip from dhcp while the fedora one has a static one.

My pc is behind an adsl router. Both virtual pc's can see each other which means i have no connectivity issues.Im trying to setup a squid proxy ( transparent one ) so for example the xp pc can access porn sites and such. I used all required configuration for the squid to work and started the service. Ive also inserted with iptables the commands to forward all incoming port 80 packets to port 3128 ( the squid ). It doesnt seems to be working and i thik i know why but i dont know how to fix it.

Because the xp has a gateway at 192.168.1.1 ( the adsl router ) packets go directly to it and not to the soho router ( fedora virtual pc as i intend to do) What can i do to solve this problem ? How can i forward all packets to go to the fedora virtual pc first and then the fedora pc to forward them (if necessary) to the adsl router? PS. I used Bridged connection on the networking configutration on the vmware player ! If you also want i can post the code for squid or iptables if needed !

View 1 Replies View Related

Debian Configuration :: Cannot See Linux In Router

Jun 19, 2015

I cannot see my debian linux machine in my virgin media router>>attached devices. I can see everything else including my raspberry pi.

The box is headless but I connected up to tv temporary and did ifconfig and got the ip address. I can ssh to it and connect to minecraft server I have running on it but I would like to know why I cannot see it in the router.

View 4 Replies View Related

Ubuntu :: How To Set Up Asus RT-N16 Wireless Router In Linux Ubuntu And/or Other Distros

Jul 18, 2010

Hey, why doesn't anyone ever answer my questions about Linux support for routers?

Can someone please tell me how to set it up. The setup software that comes with it is specifically for Windows.

View 2 Replies View Related

Networking :: Unable To Ssh Linux Box From Other Linux Boxes

Mar 12, 2010

I am unable to ssh a Linux box from other Linux boxes; also tried to window putty.Although I am getting the password prompt instantaneously.So far, by comparing logs of other server, I am just able figure out that "debug2: callback start" is not coming in ssh -vvv logs.

View 2 Replies View Related

Hardware :: Configure Modem Router With Centos?

Jan 25, 2011

i m using an adsl modem router for connecting into the internet while my operating system is windows 7,but i want to learn open source platforms like UNIX and Linux. so for this reason i install a Linux distro which is centos5. how i can configure my modem router with centos. modem router model is Billion BIPAC 5210s.i search internet for its drivers and the only thing which i found modem driver for windows platforms and nothing esle want to know that for installing this modem with my centos i need to download its drivers or not

View 14 Replies View Related

General :: Configure Centos 5.4 To Work As A Router And Firewall On Its Own?

Jun 15, 2011

how to setup centos to act as router and firewall at our office i just installed the os now i dont know where to go from here i have all the isp adresses,dns and gateway any assistance coz am really interested in learning linux thanxs iused some instructions on this site [URL] and when i try the /sysctl.config on my terminal now i get the message permission denied

View 5 Replies View Related

Ubuntu Networking :: DLink ADSL Router As Main Router And The Belkin N1 As Repeater?

Apr 13, 2010

Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.

View 9 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

Ubuntu Networking :: Can't Configure New Router?

Aug 27, 2010

I just got a new wireless router (Asus WL-520GC). I can connect to the Internet, but I can't access 192.168.1.1 to configure the router (this is the correct address, according to the manual). It doesn't respond to a ping either.

Code:
$ ping -c4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

[code]....

View 9 Replies View Related

Networking :: Any Way To Configure Linksys Router Via Browser

May 6, 2009

Is there a way to configure the Linksys router via my browser (like I do with a 2WIRE router) and if so, how? (the 2WIRE I just typed gateway in the address bar).

View 1 Replies View Related

Fedora Networking :: Configure Router - Unable To Ping Between Two Pc's

Dec 15, 2010

I have a router which have 4 ethernet ports(eth0,eth1,eth2,eth3,eth4 ) & One ADSL Line & One USB, I need to configure My router eth3 as a WAN & eth0 as a LAN using iperf, I am going to findout test a my Application(using iptables) whether my application is correct or wrong As of now I configured like server pc1(192.168.1.230)--->eth0(gw)(192.168.1.1)Router--eth3(gw)(192.168.2.1) -->pc2(192.168.2.157). For eth3 as a WAN and eth0 as a LAN. But I am not able to ping between two pc's.

View 1 Replies View Related

Ubuntu Networking :: How To Configure Wireless Router For DSL Connection

Feb 21, 2011

I'm trying to configure my Linksys WRT54G2 wireless router for my DSL connection. I select PPPOE as the connection type and when I go to connect I get the message cannot get ip address from ppoe server.

View 1 Replies View Related

Ubuntu Networking :: Configure Scanner Connected On A Router?

Mar 24, 2011

I have a router Asus RT-n16 where i've connected my EPSON DX5000. I've configured the printer function, adding the printer as AppSocket, adding router IP and port 9100 (socket://Router_IP:9100), but now i can't get the scanner function.

I've installed packages from here[URL].do (iscan) and adding on /etc/sane.d/epkowa.conf the line

Code:
net 192.168.1.1 #my router ip
but it's not working. When i run scanimage -L i get this message:

No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). The scanner option worked fine when my printer is directly connected at my computer.

View 2 Replies View Related

Ubuntu Networking :: Router - Configure A Wireless Card On Another Computer

Apr 4, 2010

I have a Belkin Wireless G F5D7230-4. I was attempting to configure a wireless card on another computer on my network when it froze during the reboot phase after making settings adjustments. The wired connection is fine, except on that computer that I was making the adjustments from. It won't connect at all. I plugged a friends netbook into the same wired line and it connected. Also there is no wireless signal on any laptops. Mac, Win Linux, don't matter. I tried all the various methods of resetting to default but still when I try to access the router's config page @ http://192.168.2.1 I get the error Code: The server at 192.168.2.1 is taking too long to respond.

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Configure Wireless Setting With Linksys Router?

May 30, 2011

I have a Linksys WAG54G2 Router - this is set up and was working fine with Xp and my Apple I phone.I have just changed over from XP to Ubuntu, and am having difficulty in configuring wireless settings to accept UBUNTU.The hard wired Ethernet connection works fine.

View 2 Replies View Related

General :: Moving From Paid Linux To Unpaid Linux CenOS - Red Hat (KVM Virtualization)

Dec 21, 2009

if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

View 1 Replies View Related

Fedora :: Insert Unlock Code In Linux Using Any Linux Tool?

Apr 16, 2010

I have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?

View 2 Replies View Related

General :: Verifying Qlogic FC HBA Adapter In Linux ( SUSE Linux)

May 5, 2010

i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

View 4 Replies View Related

General :: Migration Of C++ Application From SuSE Linux To Red Hat Linux

Feb 12, 2010

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?

View 3 Replies View Related

Networking :: Old Router Behind New Router - Configuration ?

Oct 30, 2010

I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.

Here's what I did:

The newgateway is setup for class C, 192.168.0.0

This configuration works, but sometimes it doesn't and I haven't figured out why yet.

At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.

Other times, it seems nothing can talk with anyone, and I am not sure why.

I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.

View 2 Replies View Related

General :: How To Share A Folder From Linux To Linux

Mar 17, 2010

how to share a folder from linux to linux systems and setting password to open that folder

View 14 Replies View Related

CentOS 5 Networking :: Can't Even Ping To My Router

Oct 2, 2009

just finished installing Centos5 and I had no problems installing it. But when I tried to connect to the internet, the trouble began.My network card is installed and the status is "OK". The network card is a "Realtek RTL 8168C(P)/8111C(P)".The status of the device said "Inactive" and when I tried to activate it, it came with an error: Failed; no link present. Check Cable?Now the cable is connected as it should be.So next step I did is put in a static IP. Now the activation works fine.However I still have no internet. I can't even ping to my router!I need some new drivers for my graphics card too, but first I need the network to work, than I can download other stuff..

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved