Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用不同的接口从 Scrapy ( tun0,而不是eth0). 发出请求。有人可以解释一下,如何用 Scrapy 来做吗?在 curl 我只是指定--interface tun0了。提前谢谢你!
tun0
eth0)
--interface tun0
已经解决了。使用bindaddress 元键指定传出 IP 地址(只需使用接口的 IP 地址)。