One IP address per virtual terminal “screen” on Ub

2019-08-02 19:59发布

I have multiple public IP address and I need to associate one per virtual terminal "screen".

Example:

IP 1: screen -dmS nameScreen1 ffmpeg etc...
IP 2: screen -dmS nameScreen2 ffmpeg etc...
IP 2: screen -dmS nameScreen3 streamlink etc...
IP 2: screen -dmS nameScreen4 youtube-dl etc...
IP 3: screen -dmS nameScreen5 ffmpeg etc...

I thinked about using X-Forwarded-For in --header to associate a private IP per "screen". With Squid or Network-manager write something like: For private IP 1 use public IP 1. But I don't know if it can works and how to do it.

I would be grateful if you have an other idea to solve this problem too.

Thanks to help me with this :).

0条回答
登录 后发表回答