mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2238] Can we have more separate examples #1781
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1781
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lan10rd on GitHub (Feb 6, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2238
It's difficult to track down how I should set up the tunnel. I am just trying to send all traffic to my personal web server running nginx. http works. https doesn't.
After looking at other issues, i noticed you could just make the type = tcp (this is preferable because i didn't want to manually list the domains like is required with type = http), and now all my domains requests are coming through (I have a docker nginx running a reverse proxy on my client for all port 80 and 443 traffic)! This is great and seems to work with http, but when i make a request with https it doesnt work.
I get that some people for development will use type = tcp, but I really just want a holepunch (like ngrok) setup so that all traffic just goes to my walled off web server (running on 4g LTE router so it is NAT firewalled).
I LOVE this solution so far, but I am stuck and I suck at networking.
@lan10rd commented on GitHub (Feb 6, 2021):
I have this so far:
frpc.ini
[common]
server_addr = x.x.x.x
server_port = 7000
[range:tcp_web]
type = tcp
local_ip = 127.0.0.1
local_port = 80,443
remote_port = 80,443
frps.ini
[common]
bind_port = 7000
@lan10rd commented on GitHub (Feb 6, 2021):
OMG i didnt open up port 443... RIP