SNAT and DNAT module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
  I have a cluster, among them one act as a gateway and the others are the
servers. I want to program 2 modules: a DNAT module on gateway so it will
forward
TCP
requests to the back end servers and a SNAT module on the back servers so
the servers will send packets to client directly, not back through the
gateway again.
  I can not use iptables command cause it is static distribute during the
runtime and the packets go back to gateway under this configuration.

  do you guys have a successful example to show how to on-the-fly change
IP address and port to forward a pakcet?

  Thanks in advance for your comments,





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux