How to forward packets between two dedicated servers?

Thread Tools Search this Thread
Special Forums IP Networking How to forward packets between two dedicated servers?
# 1  
Old 11-03-2013
How to forward packets between two dedicated servers?


Simple question, how to make one dedicated server as a router to forward traffic on second? Both of them running on CentOS.
# 2  
Old 11-07-2013
Any host with 2 nics and ipforwarding is a router. The trick is getting the routes distributed, which means running a compatible routing protocol daemon. You can just install routes where they are needed, too, but for global traffic, these have to be shared out through the routers. Sometimes this is a security concern with the outer layers.
# 3  
Old 11-08-2013
Assuming your router system has two NICs installed, cabled correctly, and operational.
# echo 1 > /proc/sys/net/ipv4/ip_forward

to enable routing.

You can then use the
# ip route ...

command to manipulate the routing tables.

There are lots of detailed tutorials available on the Internet.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

dedicated crash dump device

Hello Guys, I need a little help here. I have been studying crash dump and per what I am reading, you can dedicate a slice to use as a dump device. Now when you dedicate this slice, do you have to : 1) create a mount point? 2) add entry in /etc/vfstab? 3) is this slice wu or wm? 4) should... (3 Replies)
Discussion started by: cjashu
3 Replies

2. Ubuntu

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies

3. Linux

ipcheck problem in my dedicated server

Dear Friends, We have a 4 dedicated servers. All are working but the thing is one server is not working. when i go to network tools and after i enter my host domain i cant able to ping. it is showing host not found. But remaining servers are working. I terminate my account and re-again create... (4 Replies)
Discussion started by: mastansaheb
4 Replies

4. UNIX for Dummies Questions & Answers

dedicated mail servers

There are many email servers in the market and some good providers should be able to guide me through choosing them and also easy installation. can anybody give me idea of good providers please? (1 Reply)
Discussion started by: gunu81
1 Replies

5. UNIX for Dummies Questions & Answers

Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5.

Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies

6. IP Networking

Dedicated Server Move

I just moved a dedicated server, which included moving to a new subnet, and new IP address. Now my server is not reconnecting - I've tried ifconfig, altering the etc/hosts file with the new ip address, with no luck. (5 Replies)
Discussion started by: esmerika
5 Replies

7. AIX

dedicated cpu for a user account

Hi All, I want to configure a user account which contains a dedicated cpu allocated to it. For example, if i have a user account by name "user1" in my AIX 5.3 machine and a 4 physical processor, Now i want to assign 1 physical processor to "user1" out of 4 physical processor how do i do? Please... (1 Reply)
Discussion started by: charan.guddu
1 Replies

8. UNIX for Dummies Questions & Answers

Dedicated music player

Maybe completely out of my depth here (very much likely that I am). I am looking to buy a PC to have as a dedicated music player, i have 150gb of music now converted and would like something to boot up as quickly as possible and not have any other distractions, Am I in the wrong place? either... (0 Replies)
Discussion started by: jimipop
0 Replies
Login or Register to Ask a Question