[GH-ISSUE #2296] forward proxy (not reverse) for SOCKS5 relay #1824

Closed
opened 2026-05-05 13:10:35 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @asheroto on GitHub (Mar 12, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2296

Hey there,

I'd like to use frp but in reverse, ha! I use frp for several reverse proxies, but for this task I need a forward proxy.

Can frps accept incoming SOCKS5 connections and forward its traffic out 80/443 from an frpc connection?

Computer1 has a VPN connection
Computer2 is my computer

Computer1 needs to listen for incoming SOCKS5 connections on port 1080 (login abc/abc)
Computer2 needs to connect to Computer1 over SOCKS5, then Computer1 needs to relay traffic through ports 80/443

Computer2-->SOCKS5-->Computer1-->Outbound 80/443-->VPN Software Handles WAN Connectivity

Is that possible, or is this a feature request? 😁😂

Originally created by @asheroto on GitHub (Mar 12, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2296 Hey there, I'd like to use frp but in reverse, ha! I use frp for several reverse proxies, but for this task I need a forward proxy. Can frps accept incoming SOCKS5 connections and forward its traffic out 80/443 from an frpc connection? Computer1 has a VPN connection Computer2 is my computer Computer1 needs to listen for incoming SOCKS5 connections on port 1080 (login abc/abc) Computer2 needs to connect to Computer1 over SOCKS5, then Computer1 needs to relay traffic through ports 80/443 Computer2-->SOCKS5-->Computer1-->Outbound 80/443-->VPN Software Handles WAN Connectivity Is that possible, or is this a feature request? 😁😂
Author
Owner

@fatedier commented on GitHub (Mar 15, 2021):

Can computer2 connect to computer1 directly?

<!-- gh-comment-id:799067683 --> @fatedier commented on GitHub (Mar 15, 2021): Can computer2 connect to computer1 directly?
Author
Owner

@asheroto commented on GitHub (Mar 15, 2021):

Right. Using the SOCKS5 plugin...

<!-- gh-comment-id:799764684 --> @asheroto commented on GitHub (Mar 15, 2021): Right. Using the SOCKS5 plugin...
Author
Owner

@fatedier commented on GitHub (Mar 16, 2021):

frp is not designed for this scenario.

But you can try it, deploy frps and frpc on c1 and another frpc on c2 with stcp proxy .

<!-- gh-comment-id:799916449 --> @fatedier commented on GitHub (Mar 16, 2021): frp is not designed for this scenario. But you can try it, deploy frps and frpc on c1 and another frpc on c2 with [stcp](https://github.com/fatedier/frp#expose-your-service-privately) proxy .
Author
Owner

@asheroto commented on GitHub (Mar 16, 2021):

Thank you

<!-- gh-comment-id:799972658 --> @asheroto commented on GitHub (Mar 16, 2021): Thank you
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1824
No description provided.