{"id":1403,"date":"2022-12-03T11:18:45","date_gmt":"2022-12-03T07:48:45","guid":{"rendered":"https:\/\/zaminhost.com\/blog\/?p=1403"},"modified":"2022-12-03T11:18:48","modified_gmt":"2022-12-03T07:48:48","slug":"ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3","status":"publish","type":"post","link":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633"},"content":{"rendered":"\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0647\u0627\u06cc \u0645\u0631\u0645\u0648\u0632 \u0648 \u0627\u0644\u0628\u062a\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u067e\u0631\u0648\u062a\u06a9\u0644 SSH Tunnel \u0627\u0633\u062a. \u0627\u06cc\u0646 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0642\u0627\u0628\u0644\u06cc\u062a \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0627\u06cc\u062c\u0627\u062f \u062a\u0648\u0646\u0644 \u0648 \u06cc\u06a9 \u0627\u062a\u0635\u0627\u0644 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0631\u0627 \u062f\u0627\u0631\u062f. \u0628\u062f\u06cc\u0646 \u0635\u0648\u0631\u062a \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u06cc\u0646 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0648 \u0633\u0631\u0648\u0631 \u062a\u0648\u0646\u0644\u06cc \u0627\u06cc\u0645\u0646 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f \u062a\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0645\u0646\u062a\u0642\u0644 \u0634\u0648\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u0645\u0646\u06cc\u062a \u0634\u0628\u06a9\u0647 \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f. \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u062a\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0627\u0645\u0644 \u062f\u0631 \u062e\u0635\u0648\u0635 SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0635\u062d\u0628\u062a \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0628\u06cc\u0646\u06cc\u0645 \u06a9\u0647 \u0648\u0635\u0644 \u0634\u062f\u0646 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0686\u06af\u0648\u0646\u0647 \u0627\u0633\u062a\u061f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/strong><\/h2>\n\n\n\n<p>\u062a\u0648\u0646\u0644 SSH \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u067e\u0648\u0631\u062a SSH \u0646\u06cc\u0632 \u06af\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f\u060c \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u0645\u062d\u0644\u06cc \u0628\u0647 \u0647\u0627\u0633\u062a \u0647\u0627\u06cc \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0627\u0633\u062a. \u0628\u0647 \u0628\u06cc\u0627\u0646 \u062f\u06cc\u06af\u0631\u060c \u0628\u0647 \u06a9\u0645\u06a9 SSH Tunnel \u0645\u06cc \u062a\u0648\u0627\u0646 \u062a\u0645\u0627\u0645\u06cc \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0627\u0645\u0644\u0627 \u0627\u06cc\u0645\u0646 \u0648 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647\u060c \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0631\u062f. \u0627\u06cc\u0646 \u0631\u0627\u0647\u060c \u0647\u0645\u0686\u0646\u06cc\u0646 \u0631\u0627\u0647\u06cc \u0622\u0633\u0627\u0646 \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06cc\u06a9 VPC \u06cc\u0627 \u0634\u0628\u06a9\u0647 \u062e\u0635\u0648\u0635\u06cc \u0645\u062c\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0628\u0648\u062f\u0647 \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0645\u0633\u06cc\u0631\u06cc \u0627\u06cc\u0645\u0646 \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0647\u0627\u06cc \u062e\u0635\u0648\u0635\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0634\u0628\u06a9\u0647 \u0647\u0627\u06cc \u0639\u0645\u0648\u0645\u06cc \u0646\u0627\u0627\u0645\u06cc\u0646 \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u062f. \u0627\u0644\u0628\u062a\u0647 \u0647\u0645\u0686\u0646\u0627\u0646 <a href=\"https:\/\/ossolutions.ir\/2019\/04\/14\/%d8%a7%db%8c%d9%85%d9%86-%d8%b3%d8%a7%d8%b2%db%8c-%d8%b3%d8%b1%d9%88%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d8%af%d8%b1-%d8%a8%d8%b1%d8%a7%d8%a8%d8%b1-%d8%ad%d9%85%d9%84%d8%a7%d8%aa-ssh\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u062d\u0645\u0644\u0627\u062a SSH<\/a> \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0622\u0633\u06cc\u0628 \u0631\u0633\u0627\u0646 \u0628\u0627\u0634\u0646\u062f \u0627\u0645\u0627 \u062f\u0631\u0635\u062f \u0648\u0642\u0648\u0639 \u0622\u0646\u0647\u0627 \u06a9\u0627\u0647\u0634 \u0645\u06cc \u06cc\u0627\u0628\u062f.<\/p>\n\n\n\n<p>SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0644\u06cc session \u0647\u0627\u06cc SSH \u0627\u062c\u0627\u0632\u0647 \u0627\u06cc\u062c\u0627\u062f \u062a\u0648\u0646\u0644 \u0628\u0631\u0627\u06cc \u0634\u0628\u06a9\u0647 \u0633\u0627\u0632\u06cc \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u06cc \u062f\u0647\u0646\u062f. \u0627\u06af\u0631 \u0642\u0635\u062f \u0627\u06cc\u062c\u0627\u062f \u062a\u0648\u0646\u0644 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0628\u0627\u06cc\u062f \u0628\u062f\u0627\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0644\u06cc \u0633\u0647 \u0645\u062f\u0644 \u0634\u06cc\u0648\u0647 \u0627\u0631\u0633\u0627\u0644 \u067e\u0648\u0631\u062a SSH \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u062f\u0631 \u062e\u0635\u0648\u0635 \u0647\u0631 \u0633\u0647 \u0646\u0648\u0639 \u0634\u06cc\u0648\u0647 \u0635\u062d\u0628\u062a \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Local SSH Port Forwarding<\/li>\n\n\n\n<li>Remote SSH Port Forwarding<\/li>\n\n\n\n<li>Dynamic SSH Port Forwarding<\/li>\n<\/ul>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0647\u0631\u0686\u0647 \u0628\u0647\u062a\u0631\u060c \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0645\u062d\u06cc\u0637 \u062a\u0633\u062a \u062e\u0648\u062f \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Local Host: 192.168.43.31\nRemote Host: Linode CentOS 7 VPS with hostname server1.example.com<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0631\u0648\u0634 \u0627\u0648\u0644: Local SSH Port Forwarding<\/strong><\/h3>\n\n\n\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u0627\u06cc\u0646 \u0631\u0648\u0634 port forwarding \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0631\u0627\u06cc\u0627\u0646\u0647 \u0645\u062d\u0644\u06cc \u062e\u0648\u062f \u0628\u0647 \u06cc\u06a9 \u0633\u0631\u0648\u0631\u060c \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0627\u06cc\u062c\u0627\u062f SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062d\u062a\u06cc \u0627\u06af\u0631 \u062f\u0631 \u067e\u0634\u062a \u06cc\u06a9 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0645\u062d\u062f\u0648\u062f \u0634\u062f\u0647 \u0627\u06cc\u062f \u06cc\u0627 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0627\u0632 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u06cc \u06a9\u0647 \u0631\u0648\u06cc \u067e\u0648\u0631\u062a 3000 \u0648 \u0633\u0631\u0648\u0631 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f\u060c \u0645\u0633\u062f\u0648\u062f \u0634\u062f\u0647 \u0627\u06cc\u062f\u060c \u0628\u0627\u0632 \u0647\u0645 \u0627\u0645\u06a9\u0627\u0646 \u067e\u0630\u06cc\u0631 \u0628\u0648\u062f\u0647 \u0648 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u062a\u0635\u0627\u0644 \u062e\u0648\u062f \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u067e\u0648\u0631\u062a \u0645\u062d\u0644\u06cc (\u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 8080) \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u062d\u0644\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0633\u06cc\u0646\u062a\u06a9\u0633 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ssh admin@server1.example.com -L 8080:server1.example.com:3000<\/code><\/pre>\n\n\n\n<p>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 flag (\u067e\u0631\u0686\u0645) <code>\u2013N<\/code> \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 remote \u0627\u0633\u062a. \u0627\u06af\u0631 \u0627\u06cc\u0646 \u0639\u0645\u0644 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f\u060c \u062f\u06cc\u06af\u0631 \u0627\u0645\u06a9\u0627\u0646 \u062f\u0631\u06cc\u0627\u0641\u062a shell \u0631\u0627 \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ssh -N admin@server1.example.com -L 8080:server1.example.com:3000 <\/code><\/pre>\n\n\n\n<p>\u0633\u0648\u0626\u06cc\u0686 <code>\u2013f<\/code> \u062f\u0633\u062a\u0648\u0631 \u0627\u062c\u0631\u0627 \u062f\u0631 \u067e\u0633 \u0632\u0645\u06cc\u0646\u0647 \u0631\u0627 \u0628\u0647 SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  $ssh -f -N admin@server1.example.com -L 8080:server1.example.com:3000<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0647\u0627\u06cc \u0628\u0627\u0644\u0627\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u062f\u0633\u062a\u06af\u0627\u0647 \u0645\u062d\u0644\u06cc \u062e\u0648\u062f\u060c \u06cc\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u062c\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0622\u062f\u0631\u0633 server1.example.com:3000\u060c \u0627\u0632 \u0622\u062f\u0631\u0633 192.168.43.31:8080 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0631\u0648\u0634 \u062f\u0648\u0645: Remote SSH Port Forwarding<\/strong><\/h3>\n\n\n\n<p>\u0631\u0648\u0634 \u062f\u06cc\u06af\u0631 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0631\u0648\u0634 Remote SSH Port Forwarding \u0627\u0633\u062a. \u0628\u0647 \u06a9\u0645\u06a9 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u0632 \u06cc\u06a9 \u062f\u0633\u062a\u06af\u0627\u0647 \u0631\u0627\u0647 \u062f\u0648\u0631 (remote) \u0628\u0647 \u0631\u0627\u06cc\u0627\u0646\u0647 \u0645\u062d\u0644\u06cc \u062e\u0648\u062f \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f. \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636\u060c SSH \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u0646\u0645\u06cc \u062f\u0647\u062f \u062a\u0627 port forwarding \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a remote \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f. \u0627\u0645\u0627 \u0627\u06af\u0631 \u0642\u0635\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0628\u0627\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0627\u0644\u0639\u0645\u0644 GatewayPorts \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0635\u0644\u06cc SSHD (\/etc\/ssh\/sshd_config) \u0645\u06cc\u0632\u0628\u0627\u0646 \u0631\u0627\u0647 \u062f\u0648\u0631 \u062e\u0648\u062f\u060c \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u062a\u0627 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647 \u0648 \u0633\u067e\u0633 \u0628\u0647 \u06a9\u0645\u06a9 \u06cc\u06a9 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631\u060c \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0632\u06cc\u0631 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo vim \/etc\/ssh\/sshd_config<\/code><\/pre>\n\n\n\n<p>\u062d\u0627\u0644 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u0642\u062f\u0627\u0631 \u0622\u0646 \u0631\u0627 \u0628\u0647 yes \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GatewayPorts yes<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0627\u0632 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u060c \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f. \u062f\u0631 \u0642\u062f\u0645 \u0628\u0639\u062f\u06cc SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u062a\u0627 sshd \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0631\u062f\u0647 \u062a\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647\u060c \u0627\u0639\u0645\u0627\u0644 \u0634\u0648\u0646\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo systemctl restart sshd<\/code><\/pre>\n\n\n\n<p>\u06cc\u0627<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo service sshd restart<\/code><\/pre>\n\n\n\n<p>\u062d\u0627\u0644 \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u067e\u0648\u0631\u062a 500 \u0627\u0632 \u062f\u0633\u062a\u06af\u0627\u0647 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0647 \u067e\u0648\u0631\u062a 300 \u062f\u0633\u062a\u06af\u0627\u0647 \u0645\u062d\u0644\u06cc\u060c \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u062a\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh -f -N admin@server1.example.com -R 5000:localhost:3000<\/code><\/pre>\n\n\n\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u062a\u0648\u0633\u0639\u0647 \u0645\u062d\u0644\u06cc \u0631\u0627 \u0628\u0647 \u062e\u0635\u0648\u0635 \u062f\u0631 \u067e\u0634\u062a NFT\u0647\u0627 \u0648 \u06cc\u0627 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u0645\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0639\u0631\u0636 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0647\u0633\u062a\u0646\u062f\u060c \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0631\u0648\u0634 \u0633\u0648\u0645: <\/strong><strong>Dynamic SSH Port Forwarding<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>\u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0628\u0631\u062e\u0644\u0627\u0641 \u0631\u0648\u0634 \u0647\u0627\u06cc local and remote port forwarding \u06a9\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0627\u0631\u062a\u0628\u0627\u0637 \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u067e\u0648\u0631\u062a \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0637\u06cc\u0641 \u06a9\u0627\u0645\u0644\u06cc \u0627\u0632 \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a TCP \u0631\u0627 \u062f\u0631 \u0637\u06cc\u0641 \u0648\u0633\u06cc\u0639\u06cc \u0627\u0632 \u067e\u0648\u0631\u062a \u0647\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. Dynamic SSH Port Forwarding \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0633\u062a\u06af\u0627\u0647 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u067e\u0631\u0627\u06a9\u0633\u06cc SOCKS \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647 \u0648 \u0642\u0627\u062f\u0631 \u0628\u0647 \u06af\u0648\u0634 \u062f\u0627\u062f\u0646 \u0628\u0647 \u067e\u0648\u0631\u062a 1080 \u0627\u0633\u062a.<\/p>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0628\u0627\u06cc\u062f \u0628\u062f\u0627\u0646\u06cc\u062f \u06a9\u0647 SOCKS \u06cc\u06a9 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0686\u06af\u0648\u0646\u06af\u06cc \u0627\u062a\u0635\u0627\u0644 \u06cc\u06a9 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u067e\u0631\u0648\u06a9\u0633\u06cc (SSH) \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u062f\u06cc\u06af\u0631\u060c \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u062f. \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u06a9\u0645\u06a9 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u062a\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u06cc\u06a9 \u067e\u0631\u0627\u06a9\u0633\u06cc SOCKS \u0631\u0627 \u062f\u0631 \u067e\u0648\u0631\u062a 1080 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0645\u06cc\u0632\u0628\u0627\u0646 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh -f -N -D 1080 <a href=\"mailto:admin@server1.example.com\">admin@server1.example.com<\/a><\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0622\u0646 \u0647\u0627\u060c \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0631\u0648\u06cc \u062f\u0633\u062a\u06af\u0627\u0647 \u062e\u0648\u062f \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631 \u067e\u0631\u0627\u06a9\u0633\u06cc SSH \u0645\u062a\u0635\u0644 \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc <a href=\"https:\/\/zaminhost.com\/blog\/ssh-%d8%a8%d9%87-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d8%a8%d8%a7-%d8%a7%d9%86%d8%af%d8%b1%d9%88%db%8c%d8%af\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0648\u0635\u0644 \u0634\u062f\u0646 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 \u0627\u0646\u062f\u0631\u0648\u06cc\u062f<\/a> \u0646\u06cc\u0632 \u0634\u0646\u0627\u062e\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062a\u0646\u0647\u0627 \u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0639\u062f \u0627\u0632 \u0628\u0633\u062a\u0647 \u0634\u062f\u0646 \u0646\u0634\u0633\u062a SSH\u060c \u067e\u0631\u0648\u06a9\u0633\u06cc SOCKS \u0646\u06cc\u0632 \u0642\u0637\u0639 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0647\u0627\u06cc \u0645\u0631\u0645\u0648\u0632 \u0648 \u0627\u0644\u0628\u062a\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u067e\u0631\u0648\u062a\u06a9\u0644 SSH Tunnel \u0627\u0633\u062a. \u0627\u06cc\u0646 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0642\u0627\u0628\u0644\u06cc\u062a \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0627\u06cc\u062c\u0627\u062f \u062a\u0648\u0646\u0644 \u0648 \u06cc\u06a9 \u0627\u062a\u0635\u0627\u0644 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0631\u0627 \u062f\u0627\u0631\u062f. \u0628\u062f\u06cc\u0646 \u0635\u0648\u0631\u062a \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u06cc\u0646 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0648 \u0633\u0631\u0648\u0631 \u062a\u0648\u0646\u0644\u06cc \u0627\u06cc\u0645\u0646 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f \u062a\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0645\u0646\u062a\u0642\u0644 \u0634\u0648\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[194,254,255,192],"class_list":["post-1403","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-ssh","tag-254","tag-255","tag-192"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/title>\n<meta name=\"description\" content=\"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-\u0644\u06cc\u0646\u0648\u06a9\u0633\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\" \/>\n<meta property=\"og:description\" content=\"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-\u0644\u06cc\u0646\u0648\u06a9\u0633\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-03T07:48:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-03T07:48:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/\"},\"author\":{\"name\":\"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/9318515e7c00c16e97afd524b636d1e4\"},\"headline\":\"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\",\"datePublished\":\"2022-12-03T07:48:45+00:00\",\"dateModified\":\"2022-12-03T07:48:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/\"},\"wordCount\":100,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png\",\"keywords\":[\"SSH\",\"\u067e\u0631\u0627\u06a9\u0633\u06cc\",\"\u067e\u0648\u0631\u062a \u0641\u0631\u0648\u0627\u0631\u062f\u06cc\u0646\u06af\",\"\u0631\u06cc\u0645\u0648\u062a \u062f\u0633\u06a9\u062a\u0627\u067e\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634 \u0644\u06cc\u0646\u0648\u06a9\u0633\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/\",\"url\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\",\"isPartOf\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png\",\"datePublished\":\"2022-12-03T07:48:45+00:00\",\"dateModified\":\"2022-12-03T07:48:48+00:00\",\"description\":\"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.\",\"breadcrumb\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage\",\"url\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png\",\"contentUrl\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png\",\"width\":800,\"height\":600,\"caption\":\"SSH Tunnel \u0644\u06cc\u0646\u0648\u06a9\u0633\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/zaminhost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#website\",\"url\":\"https:\/\/zaminhost.com\/blog\/\",\"name\":\"\",\"description\":\"\u0628\u062e\u0634 \u0648\u0628\u0644\u0627\u06af \u0648 \u0645\u062c\u0644\u0647 \u0639\u0644\u0645\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a\",\"publisher\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zaminhost.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#organization\",\"name\":\"\u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a\",\"url\":\"https:\/\/zaminhost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/07\/logo-org.png\",\"contentUrl\":\"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/07\/logo-org.png\",\"width\":192,\"height\":192,\"caption\":\"\u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a\"},\"image\":{\"@id\":\"https:\/\/zaminhost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/9318515e7c00c16e97afd524b636d1e4\",\"name\":\"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1500ca61a75661a753b0bada0a78569be9611e32144281b44d2355c9723b80f6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1500ca61a75661a753b0bada0a78569be9611e32144281b44d2355c9723b80f6?s=96&d=mm&r=g\",\"caption\":\"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc\"},\"description\":\"\u062f\u0627\u0646\u0634\u062c\u0648\u06cc \u0631\u0634\u062a\u0647 \u06a9\u0627\u0631\u0634\u0646\u0627\u0633\u06cc \u0627\u0631\u0634\u062f \u0641\u0646\u0627\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u06a9\u0647 \u0628\u0647 \u0645\u0628\u0627\u062d\u062b \u0634\u0628\u06a9\u0647 \u0648 \u0627\u0645\u0646\u06cc\u062a \u0634\u0628\u06a9\u0647 \u0639\u0644\u0627\u0642\u0647 \u0645\u0646\u062f \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0648 \u062c\u0645\u0639 \u0622\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0647\u0631\u0686\u0647 \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0632\u0645\u06cc\u0646\u0647 \u0647\u0627 \u0647\u0633\u062a\u0645.\",\"sameAs\":[\"https:\/\/zaminhost.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633","description":"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-\u0644\u06cc\u0646\u0648\u06a9\u0633\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633","og_description":"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.","og_url":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-\u0644\u06cc\u0646\u0648\u06a9\u0633\/","article_published_time":"2022-12-03T07:48:45+00:00","article_modified_time":"2022-12-03T07:48:48+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png","type":"image\/png"}],"author":"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"6 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#article","isPartOf":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/"},"author":{"name":"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc","@id":"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/9318515e7c00c16e97afd524b636d1e4"},"headline":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633","datePublished":"2022-12-03T07:48:45+00:00","dateModified":"2022-12-03T07:48:48+00:00","mainEntityOfPage":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/"},"wordCount":100,"commentCount":0,"publisher":{"@id":"https:\/\/zaminhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage"},"thumbnailUrl":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png","keywords":["SSH","\u067e\u0631\u0627\u06a9\u0633\u06cc","\u067e\u0648\u0631\u062a \u0641\u0631\u0648\u0627\u0631\u062f\u06cc\u0646\u06af","\u0631\u06cc\u0645\u0648\u062a \u062f\u0633\u06a9\u062a\u0627\u067e"],"articleSection":["\u0622\u0645\u0648\u0632\u0634 \u0644\u06cc\u0646\u0648\u06a9\u0633"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/","url":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633","isPartOf":{"@id":"https:\/\/zaminhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage"},"image":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage"},"thumbnailUrl":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png","datePublished":"2022-12-03T07:48:45+00:00","dateModified":"2022-12-03T07:48:48+00:00","description":"SSH Tunnel \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u067e\u0634\u062a NAT\u0647\u0627 \u0648 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0648\u0646\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.","breadcrumb":{"@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#primaryimage","url":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png","contentUrl":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/12\/ssh-port-forwarding.png","width":800,"height":600,"caption":"SSH Tunnel \u0644\u06cc\u0646\u0648\u06a9\u0633"},{"@type":"BreadcrumbList","@id":"https:\/\/zaminhost.com\/blog\/ssh-tunnel-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/zaminhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a SSH Tunnel \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc Port Forwarding \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633"}]},{"@type":"WebSite","@id":"https:\/\/zaminhost.com\/blog\/#website","url":"https:\/\/zaminhost.com\/blog\/","name":"","description":"\u0628\u062e\u0634 \u0648\u0628\u0644\u0627\u06af \u0648 \u0645\u062c\u0644\u0647 \u0639\u0644\u0645\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a","publisher":{"@id":"https:\/\/zaminhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zaminhost.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/zaminhost.com\/blog\/#organization","name":"\u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a","url":"https:\/\/zaminhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/zaminhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/07\/logo-org.png","contentUrl":"https:\/\/zaminhost.com\/blog\/wp-content\/uploads\/2022\/07\/logo-org.png","width":192,"height":192,"caption":"\u0632\u0645\u06cc\u0646 \u0647\u0627\u0633\u062a"},"image":{"@id":"https:\/\/zaminhost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/9318515e7c00c16e97afd524b636d1e4","name":"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/zaminhost.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1500ca61a75661a753b0bada0a78569be9611e32144281b44d2355c9723b80f6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1500ca61a75661a753b0bada0a78569be9611e32144281b44d2355c9723b80f6?s=96&d=mm&r=g","caption":"\u0645\u0647\u0631\u0627\u062f \u0642\u062f\u0633\u06cc"},"description":"\u062f\u0627\u0646\u0634\u062c\u0648\u06cc \u0631\u0634\u062a\u0647 \u06a9\u0627\u0631\u0634\u0646\u0627\u0633\u06cc \u0627\u0631\u0634\u062f \u0641\u0646\u0627\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u0627\u0645\u0646\u06cc\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u06a9\u0647 \u0628\u0647 \u0645\u0628\u0627\u062d\u062b \u0634\u0628\u06a9\u0647 \u0648 \u0627\u0645\u0646\u06cc\u062a \u0634\u0628\u06a9\u0647 \u0639\u0644\u0627\u0642\u0647 \u0645\u0646\u062f \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0648 \u062c\u0645\u0639 \u0622\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0647\u0631\u0686\u0647 \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0632\u0645\u06cc\u0646\u0647 \u0647\u0627 \u0647\u0633\u062a\u0645.","sameAs":["https:\/\/zaminhost.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/posts\/1403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/comments?post=1403"}],"version-history":[{"count":1,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/posts\/1403\/revisions"}],"predecessor-version":[{"id":1405,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/posts\/1403\/revisions\/1405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/media\/1404"}],"wp:attachment":[{"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/media?parent=1403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/categories?post=1403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zaminhost.com\/blog\/wp-json\/wp\/v2\/tags?post=1403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}