Re: iptables - ip forwarding



Greg Hackney wrote:

I was wondering if someone could give me an example
of iptables configs to do a forwarding situation:


2 NICs: 192.168.1.7 and 192.168.10.7
2 subnets: 192.168.1 and 192.168.10

TCP packets which have arrived from the Internet IP
address port 10030 have been port forwarded by the
Linksys router to 192.168.1.7 port 10030

iptables configuration wanted:
Forward 192.168.1.7 port 10030 TCP packets
to another system on the 10 subnet: 192.168.10.100 port 10030


Disregard. I already found out how to do it at:

http://www.hackorama.com/network/portfwd.shtml

--
Greg
.



Relevant Pages

  • iptables - ip forwarding
    ... of iptables configs to do a forwarding situation: ... subnets: 192.168.1 and 192.168.10 ... address port 10030 have been port forwarded by the ...
    (alt.os.linux.redhat)
  • iptables - ip forwarding
    ... NICs ... subnets: 192.168.1 and 192.168.10 ... TCP packets arriving for 192.168.1.100 port 10030 ...
    (alt.os.linux.redhat)
  • Re: Practicalities of subnets
    ... The Linux Network Administrator's Guide, ... different subnets? ... a new network appliance called a 'switch' became available. ... each got their own port. ...
    (comp.os.linux.networking)
  • Re: Port 3509?
    ... >>When I use Tinylogger to view my Kerio log, ... >>I'm getting a lot of TCP packets sent to port 3509 on my system. ...
    (alt.computer.security)
  • Source address problem on ssh port forwarding
    ... I have built a ssh tunnel from B to C. ... With it I forwarded the port ... A client program on computer A sends TCP packets to port ... the source address field of the received TCP packets on computer C ...
    (comp.security.ssh)