Skip to content
/ portal Public

Exposes local servers behind NATs and firewalls to the Internet

License

Notifications You must be signed in to change notification settings

ytcoode/portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portal

Exposes local servers behind NATs and firewalls to the Internet

中文文档

Getting Started

  • Download the pre-built binary suitable for your operating system from the release page (or build from source if you're familar with Rust)

  • Run the following command to open a portal tunnel

$ portal open 80
Forwarding: portals.rs:39755 -> 127.0.0.1:80
  • Now visit the address portals.rs:39755 and the connections will be forwarded to 127.0.0.1:80

More Examples

$ portal open 8888 192.168.0.1:3306 # Opens multiple tunnel at once
Forwarding: portals.rs:41657 -> 192.168.0.1:3306
Forwarding: portals.rs:38913 -> 127.0.0.1:8888

$ portal open 8000:8000             # Specifies the remote port (may fail if it's in use)
Forwarding: portals.rs:8000 -> 127.0.0.1:8000

For more details, run portal help

About

Exposes local servers behind NATs and firewalls to the Internet

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages