Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to bind the port: Bad Gateway; Incorrect gateway address #6

Open
GR1ML0CK opened this issue Jun 23, 2023 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@GR1ML0CK
Copy link

when i run the script i get this log output:

| Transmission Port Forward 2023-06-23 14:23:16
| VPN connection up.
| Closed port detected.
| Loading port forward assignment information..
| New port: 37600
| Failed to bind the port: Bad Gateway; Incorrect gateway address

The first time i ran it, it complained about there not being a file at /tmp/piaPort/gateway.txt, so i created one. Now i get the above mentioned error. Should i have something in the gateway file. I don't see anything that suggests what goes there.

I am running this in a jail on FreeNas

@dak180
Copy link
Owner

dak180 commented Jun 24, 2023

@GR1ML0CK the relevant section is the write_gateway_script function: its job is to make changes to your openvpn config to call a helper script that it writes that writes the /tmp/piaPort/gateway.txt file. If that file is not being created automatically then some part of that is not working correctly.

So can you tell me: are the mods being made to the config file?
Is the helper script being written?

@dak180 dak180 self-assigned this Jun 24, 2023
@dak180 dak180 added the question Further information is requested label Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants