Re: need help using ng_patch to modify src/dst packets or alternative way

2017-12-17 Thread Eugene Grosbein
17.12.2017 17:59, Sami Halabi wrote: > Hi Eugene, > I'm looking for a solution for IP traffic. in linux iptables its possible but > I couldn't find freebsd way yet. > bkuncr soulution works for tcp only. Then, you need to realize that for every packet, you need to change (translate) both of

Re: need help using ng_patch to modify src/dst packets or alternative way

2017-12-17 Thread Sami Halabi
Hi Eugene, I'm looking for a solution for IP traffic. in linux iptables its possible but I couldn't find freebsd way yet. bkuncr soulution works for tcp only. Thanks for the hint though, Sami בתאריך 17 בדצמ׳ 2017 11:29 AM,‏ "Eugene Grosbein" כתב: > 17.12.2017 14:52, Sami

need help using ng_patch to modify src/dst packets or alternative way

2017-12-16 Thread Sami Halabi
hi, Can you help in my situation? My goal is so Box in my lan 10.1.1.2 to talk to 10.1.1.1 and actually it would be talking to X.X.X.X outside ip using one of my public IPs say 1.1.1.1. I'm trying to modify packets to passthrough to a local IP. I have a box that a specific IP is routed to it..