Zum Glück verfügt PF über einen Hilfsproxy für TFTP : tftp-proxy ( 8 ).
tftp-proxy(8) wird fast genauso wie ftp-proxy(8) im Abschnitt FTP-Client hinter der Firewall eingerichtet.
match out on $ext_if from $int_if nat-to ($ext_if) anchor "tftp-proxy/*" pass in quick on $int_if inet proto udp from $int_if to port tftp \ divert-to 127.0.0.1 port 6969 anchor "tftp-proxy/*"
www.openbsd.orgLuckily, PF has a helper proxy for TFTP called tftp-proxy ( 8 ).
tftp-proxy(8) is setup in much the same way as ftp-proxy(8) was in the FTP Client Behind the Firewall section above.
match out on $ext_if from $int_if nat-to ($ext_if) anchor "tftp-proxy/*" pass in quick on $int_if inet proto udp from $int_if to port tftp \ divert-to 127.0.0.1 port 6969 anchor "tftp-proxy/*"
www.openbsd.orgHiermit erlauben wir eingehenden Verkehr zum Port 21 des externen Interfaces und ausgehenden Verkehr zum FTP-Server.
Die Erweiterung »user proxy« bei der ausgehenden Verbindung stellt sicher, dass nur Verbindungen erlaubt werden, die vom ftp-proxy initiiert wurden.
www.openbsd.orgHere we allow the connection inbound to port 21 on the external interface as well as the corresponding outbound connection to the FTP server.
The "user proxy" addition to the outbound rule ensures that only connections initiated by ftp-proxy(8) are permitted.
www.openbsd.orgVerbindungen werden zum Port 80 auf dem Server 192.168.1.10 weitergeleitet.
Die Weiterleitung wird vom Benutzer »proxy« durchgeführt.
www.openbsd.orgConnections are forwarded to port 80 on server 192.168.1.10.
The forwarding is done by user "proxy".
www.openbsd.org您想添加一个词、一个短语或一段译文吗?
请发送新条目。