| /freebsd-13-stable/sbin/ipf/ipnat/ |
| HD | Makefile | 3 PROG= ipnat 4 SRCS= ${GENHDRS} ipnat.c ipnat_y.c ipnat_l.c 5 MAN= ipnat.8 ipnat.4 ipnat.5 6 MLINKS= ipnat.5 ipnat.conf.5
|
| /freebsd-13-stable/sbin/ipf/ipftest/ |
| HD | Makefile | 30 CLEANFILES+= ipnat.tab.c ipnat.tab.h 34 ipnat.tab.c ipnat.tab.h: ipnat_y.y 35 ${YACC} -b ipnat -d ${.ALLSRC} 37 ipnat_y.c: ipnat.tab.c 40 ipnat.tab.c > ${.TARGET} 42 ipnat_y.h: ipnat.tab.h 45 ipnat.tab.h > ${.TARGET}
|
| /freebsd-13-stable/contrib/ipfilter/man/ |
| HD | Makefile | 14 $(INSTALL) -m 0644 -c -o root -g bin ipnat.8 $(MANDIR)/man8 18 $(INSTALL) -m 0644 -c -o root -g bin ipnat.4 $(MANDIR)/man4 21 $(INSTALL) -m 0644 -c -o root -g bin ipnat.5 $(MANDIR)/man5
|
| /freebsd-13-stable/sys/netpfil/ipfilter/netinet/ |
| HD | ip_nat.h | 101 struct ipnat *nat_ptr; /* pointer back to the rule */ 212 typedef struct ipnat { struct 214 struct ipnat *in_next; /* NAT rule list next */ argument 215 struct ipnat **in_pnext; /* prior rdr next ptr */ argument 216 struct ipnat *in_rnext; /* rdr rule hash next */ argument 217 struct ipnat **in_prnext; /* prior rdr next ptr */ argument 218 struct ipnat *in_mnext; /* map rule hash next */ argument 219 struct ipnat **in_pmnext; /* prior map next ptr */ argument 409 struct ipnat ipn_ipnat; 434 struct ipnat *hm_ipnat;
|
| HD | ip_rpcb_pxy.c | 1104 ipnat_t *ipn, ipnat; in ipf_p_rpcb_getnat() local 1183 bcopy((char *)ipn, (char *)&ipnat, sizeof(ipnat)); in ipf_p_rpcb_getnat() 1205 bcopy((char *)&ipnat, (char *)ipn, sizeof(ipnat)); in ipf_p_rpcb_getnat()
|
| HD | ip_proxy.h | 28 struct ipnat; 449 extern int ipf_proxy_ok(fr_info_t *, tcphdr_t *, struct ipnat *);
|
| /freebsd-13-stable/contrib/ipfilter/ |
| HD | NAT.FreeBSD | 13 2) Make the ipnat rules 14 3) Load the ipnat rules 70 ipnat -f /etc/natrules 73 ipnat -ls
|
| HD | HISTORY | 21 3544317 ipnat/ipfstat are not using ipfexp_t 29 3544318 ipnat.conf parsing ignores LHS address family 44 3543404 ipnat.conf parsing uses family/ip version badly 45 3543403 incorrect line number printed in ipnat parsing errors 63 3541637 ipnat parser does not zero port fields for non-port protocol 67 3540999 ipnat.conf parsing has trouble with icmpidmap for ipv6 79 3536479 ipnat.conf line numbers not stored 83 3536203 ipnat does not return an error 89 3532306 deleting ipnat rules does not work 94 3531870 ipnat.conf parsing needs to support inet6 [all …]
|
| HD | WhatsNew50.txt | 32 * simple encapsulation can now be configured with ipnat.conf,
|
| HD | ip_fil_compat.c | 538 struct ipnat *in_next; /* NAT rule list next */ 539 struct ipnat *in_rnext; /* rdr rule hash next */ 540 struct ipnat **in_prnext; /* prior rdr next ptr */ 541 struct ipnat *in_mnext; /* map rule hash next */ 542 struct ipnat **in_pmnext; /* prior map next ptr */ 575 struct ipnat *in_next; 576 struct ipnat *in_rnext; 577 struct ipnat **in_prnext; 578 struct ipnat *in_mnext; 579 struct ipnat **in_pmnext; [all …]
|
| /freebsd-13-stable/libexec/rc/rc.d/ |
| HD | ipfs | 35 if [ -r /var/db/ipf/ipstate.ipf -a -r /var/db/ipf/ipnat.ipf ]; then 37 rm -f /var/db/ipf/ipstate.ipf /var/db/ipf/ipnat.ipf
|
| HD | Makefile | 228 ipnat \
|
| /freebsd-13-stable/sbin/ipf/common/ |
| HD | ipf.h | 266 extern void nat_setgroupmap(struct ipnat *); 321 extern void printproto(struct protoent *, int, struct ipnat *); 346 extern void printnat(struct ipnat *, int);
|
| /freebsd-13-stable/share/examples/ipfilter/rules/ |
| HD | ftppxy | 6 echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
|
| HD | ftp-proxy | 5 (i.e. only if you're already using "map" rules with ipnat). It does
|
| HD | nat-setup | 74 and use these with ipnat:
|
| /freebsd-13-stable/sbin/ipf/ |
| HD | Makefile | 3 SUBDIR+= ipf ipfs ipfstat ipmon ipnat ippool
|
| /freebsd-13-stable/share/examples/ipfilter/ |
| HD | Makefile | 16 ipf.conf.sample ipnat.conf.sample
|
| HD | ipf-howto.txt | 1681 Now we can load our ipnat rules with impunity and connect to 1693 doesn't match and the packet is passed untranslated. ipnat 1872 Since ipnat provides a method to rewrite packets as 1888 chance to work on it. Remember that ipnat rules are first- 1935 6. Loading and Manipulating NAT Rules; The ipnat Utility 1937 NAT rules are loaded by using the ipnat utility. The 1939 cally these rules are stored in /etc/ipnat.rules, 1940 /usr/local/etc/ipnat.rules, or /etc/opt/ipf/ipnat.rules. 1953 ipnat -CF -f /etc/ipnat.rules. 2359 this, ipfilter includes an ipnat proxy which temporarily [all …]
|
| HD | examples.txt | 430 # Use ipnat, not ipf to load these rules. 441 effect redirection rules, ipnat must be used (same as for NAT) rather than
|
| /freebsd-13-stable/libexec/rc/ |
| HD | netstart | 43 /etc/rc.d/ipnat ${_start}
|
| /freebsd-13-stable/contrib/netbsd-tests/ipf/ |
| HD | t_nat_parse.sh | 37 atf_check -o file:exp -e ignore ipnat -Rnvf reg
|
| /freebsd-13-stable/tests/sys/netpfil/common/ |
| HD | utils.subr | 66 jexec ${jname} ipnat -CF -f $cwd/ipfnat.rule
|
| /freebsd-13-stable/share/examples/ipfilter/l4check/ |
| HD | l4check.c | 37 struct ipnat l4_nat; /* NAT rule */
|
| /freebsd-13-stable/targets/pseudo/userland/ |
| HD | Makefile.depend | 86 sbin/ipf/ipnat \
|