I have established a vpn server in area b,and I can get internet from my pc on area a through this vpn server.But some services are access more convenient through area c,I want to get this services more faster,So I want to transmit all the vpn traffic from my vpn server to another linux server.Is there some awesome solution for this issue? I have googled some solutions about that,e.g. the iptables、the haproxy..but I have tried failed.could someone give me the iptables commands for this?
相关问题
- Is shmid returned by shmget() unique across proces
- IPAddress.[Try]Parse parses 192.168 to 192.0.0.168
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
First you have to run the following command to allow forwarding:
sysctl net.ipv4.conf.eth0.forwarding=1
Then you have to specify the nat configuration and which ports you want to forward:Hope this can help