Home > Technical > Q&A

Q&A

SUBJECT Protocol forwarding WizFi630
NAME Gareth DATE 2012-08-11 HIT 506
 Hello,

I bought a WizFi630-EVB because I'm developing a solution where I need to connect a device to a wireless access point so I'm using the WizFi630 in Client mode. Because I'm using it in client mode, the WizFi630 is performing NAT / NAPT. 

What I need to do is forward traffic destined to the WizFi630's public interface to an address on the private side of the NAT. For UDP or TCP traffic I could use the "Port forwarding" option to achieve this. However, the traffic I need to forward (GRE/IP and ESP/IP) does not use TCP or UDP transport I can't change this. 

Is there a way to forward a IP protocol (that's not UDP or TCP) based on the IP protocol number - e.g. protocol 47 for GRE?

I want all packets sent to the WizFi's public address with protocol ID=47 to be forwarded to an address on the private side. I think I might be able to do this using iptables but if so, how can I save the iptables config so it comes back after reboot? 

Also, there a way to turn NAT off in client mode? 

Many thanks,

Gareth










STM32 with W3150A+ 2012-08-13
Post through Proxy 2012-08-10
REGIST mopdify LIST

Name
REPLE