Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Setup outgoing connection source ip


  • Please log in to reply
No replies to this topic

#1 roimekoi

roimekoi

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:01:11 AM

Posted 28 November 2016 - 06:25 PM

in short: How to setup the router to allow external host to see the outgoing source ip as the router virtual ip if the the connection is from the router it self instead of the internal servers.

my current setup, 

10.bbb.145.246 is the router ip 

10.bbb.145.217 is the virtual ip

root:~# ip route list
default via 10.bbb.145.1 dev eth0
10.bbb.145.0/24 dev eth0 scope link src 10.bbb.145.217

i need the route device itself that create the ip packet will fire using its virtual ip ,so i tried this 
10.bbb.145.246 dev eth0 scope link src 10.bbb.145.217

it failed when i checked the tcpdump
source ip showing 246 i wish to change to 217

thanks for reading 



BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users