Mohsen Pahlevanzadeh wrote: > I don't want to use set proxy in firefox and other application, but > I want to send any packets to 127.0.0.1:7777 and my program itself > send to eth0. > > OK, there is an underlying assumption that you are not telling > us. > > Why do you want to do this? What is the program at :7777 going > to accomplish differently from connecting sockets to the actual > remote IP addresses? > > My program on :7777 is socks5 and ssh tunnel.
Each program using a socks5 interface needs to be written to be able to use the socks5 protocol. Each program needs to be configured to use the socks5 proxy as a proxy. Otherwise they use the normal networking system. Your stated desires conflict with each other. -dsr-