Skip to content

Port Forwarding

BShellX Pro provides SSH port forwarding for accessing remote services.

What is Port Forwarding

Port forwarding allows you to:

  • Access remote intranet services
  • Tunnel local connections
  • Secure network access
  • Bypass firewall restrictions

Port Forwarding Types

Local Port Forwarding

Forward local port to remote:

  • Access remote service locally
  • Common for web services
  • Format: local:remote

Remote Port Forwarding

Forward remote port to local:

  • Expose local service remotely
  • Common for development
  • Format: remote:local

Dynamic Port Forwarding

Create SOCKS proxy:

  • Dynamic port allocation
  • Proxy all traffic
  • Common for VPN-like access

Creating Forwarding Task

Step 1: Open Port Forwarding

In BShellX Pro:

  1. Connect to SSH server
  2. Open Port Forwarding panel
  3. Click "New Task"

Step 2: Configure Task

Enter task details:

  • Task name
  • Forwarding type
  • Local port
  • Remote host and port

Step 3: Start Task

Click "Start":

  • Task becomes active
  • Port forwarding enabled
  • Monitor task status

Step 4: Use Forwarding

Access forwarded service:

  • Use localhost:local_port
  • Traffic forwarded through SSH
  • Secure and encrypted

Managing Tasks

View Tasks

See all tasks:

  • Active tasks
  • Inactive tasks
  • Task history

Stop Task

To stop forwarding:

  • Find the task
  • Click "Stop"
  • Port released

Edit Task

Modify task settings:

  • Change ports
  • Update configuration
  • Restart task

Common Use Cases

Access Remote Database

Forward database port:

Local: 3306 -> Remote: 3306

Access database locally.

Access Remote Web Service

Forward web service port:

Local: 8080 -> Remote: 80

Access web service locally.

Development Testing

Expose local service:

Remote: 3000 -> Local: 3000

Let others access your local service.

Troubleshooting

Port Already in Use

Choose different local port or stop conflicting service.

Connection Failed

Check:

  • SSH connection is active
  • Remote service is running
  • Port configuration is correct

Task Not Working

Verify:

  • Task is active
  • Ports are correct
  • Service is accessible

Security Considerations

  • Only forward necessary ports
  • Use strong SSH authentication
  • Monitor forwarding activity
  • Close unused forwarding

BShellX Pro Documentation