commit 0bc680efb68c032abad31db56aefe6203929fe60
parent 4e5491431a695330221b7b91d68a1d25da891f7c
Author: lostd <lostd@2f30.org>
Date: Wed, 30 Apr 2014 17:50:54 +0300
PF-only version needs IP forwarding enabled
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/guides/proxy.md b/guides/proxy.md
@@ -39,6 +39,10 @@ The configuration of the `middle` host is found below.
pass in quick on egress proto tcp to port 1337 rdr-to hidden port ssh
pass out quick on egress proto tcp to hidden port ssh nat-to (egress)
+/etc/sysctl.conf:
+
+ net.inet.ip.forwarding=1
+
#### Tips for SSH access