Initial commit of tldk code.
[tldk.git] / examples / udpfwd / fe.cfg
1 #
2 # udpfwd FE config file example
3 #
4
5 # open IPv4 stream with local_addr=192.168.1.233:32768,
6 # and remote_addr as wildcard (any remote addressi/port allowed).
7 # use it echo mode - for any received packet - send it back to the source
8 lcore=3,op=echo,laddr=192.168.1.233,lport=0x8000,raddr=0.0.0.0,rport=0
9
10 # open IPv4 stream with specified local/remote address/port and
11 # do send only over that stream.
12 lcore=3,op=tx,laddr=192.168.1.233,lport=0x8001,raddr=192.168.1.56,rport=0x200,txlen=72
13
14 # open IPv6 stream with specified local port (512) probably over multiple
15 # eth ports, and do recv only over that stream.
16 lcore=3,op=rx,laddr=::,lport=0x200,raddr=::,rport=0,txlen=72
17
18 # fwd mode example.
19 # open IPv4 stream on local port 11211 (memcached) over all possible ports.
20 # for each new flow, sort of tunnel will be created, i.e:
21 # new stream will be opend to communcate with forwarding remote address,
22 # so all packets with <laddr=A:11211,raddr=X:N> will be forwarded to
23 # <laddr=[B]:M,raddr=[2001:4860:b002::56]:11211> and visa-versa.
24 lcore=3,op=fwd,laddr=0.0.0.0,lport=11211,raddr=0.0.0.0,rport=0,fwladdr=::,fwlport=0,fwraddr=2001:4860:b002::56,fwrport=11211