-
Notifications
You must be signed in to change notification settings - Fork 2
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
I have added that it automatically install and connects to the netfree vpn. #2
Open
aronunger-ctb
wants to merge
89
commits into
lo-mityaesh:main
Choose a base branch
from
aronunger-ctb:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is the first that I make on a Ubuntu 24.10 it worked when i selected to connect to the us server and entering the username and password that netfree have given me via a support request
update the script to download from this repository
update the updates to this repo
this is a working state but have a problam that when you stop the vpn service it gives you internet for a few seconds
I am very happy to see that someone has put himself back into the project.
I tried to install and it didn't work, following is the result:
sudo apt-get update && sudo apt-get install -y git && git -c
http.sslVerify=false clone https://github.com/aronunger-ctb/tuxprotect.git
&& cd tuxprotect && chmod +x install.sh && sudo ./install.sh && cd .. && rm
-rf tuxprotect
***@***.***:~$ sudo apt-get update && sudo apt-get install -y git && git
-c http.sslVerify=false clone
https://github.com/aronunger-ctb/tuxprotect.git && cd tuxprotect && chmod
+x install.sh && sudo ./install.sh && cd .. && rm -rf tuxprotect
Ign:1 cdrom://Ubuntu 24.04.1 LTS _Noble Numbat_ - Release amd64
(20240827.1) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.1 LTS _Noble Numbat_ - Release amd64
(20240827.1) noble Release
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components
[151 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64
Components [310 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64
Components [212 B]
Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64
Components [940 B]
Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64
Components [208 B]
Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64
Components [11.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64
Components [216 B]
Get:15 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64
Components [212 B]
Fetched 726 kB in 3s (277 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 305 not upgraded.
Need to get 4804 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 liberror-perl all
0.17029-2 [25.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 git-man all
1:2.43.0-1ubuntu7.1 [1100 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 git amd64
1:2.43.0-1ubuntu7.1 [3679 kB]
Fetched 4804 kB in 3s (1693 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 210863 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17029-2_all.deb ...
Unpacking liberror-perl (0.17029-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.43.0-1ubuntu7.1_all.deb ...
Unpacking git-man (1:2.43.0-1ubuntu7.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.43.0-1ubuntu7.1_amd64.deb ...
Unpacking git (1:2.43.0-1ubuntu7.1) ...
Setting up liberror-perl (0.17029-2) ...
Setting up git-man (1:2.43.0-1ubuntu7.1) ...
Setting up git (1:2.43.0-1ubuntu7.1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Cloning into 'tuxprotect'...
remote: Enumerating objects: 401, done.
remote: Counting objects: 100% (139/139), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 401 (delta 107), reused 49 (delta 49), pack-reused 262 (from
3)
Receiving objects: 100% (401/401), 317.04 KiB | 2.56 MiB/s, done.
Resolving deltas: 100% (205/205), done.
#######################################################
# #
# Tux Protect #
# #
#######################################################
You are trying to install "Tux Protect".
WARNING!!! This script was tested only with Ubuntu 22.10 ! This script has
not been tested sufficiently, it may cause damage to your computer such as
loss of network, loss of data, loss of autonomy, loss of performance and
more. No uninstall tool will be provided.
This script updates itself, its behavior is subject to change over time.
Do you agree anyway? If yes, write "I agree"
#######################################################
i agree
./install.sh: line 212: syntax error: unexpected end of file
***@***.***:~/tuxprotect$ sudo apt-get update && sudo apt-get install -y
git && git -c http.sslVerify=false clone
https://github.com/aronunger-ctb/tuxprotect.git && cd tuxprotect && chmod
+x install.sh && sudo ./install.sh && cd .. && rm -rf tuxprotect
Ign:1 cdrom://Ubuntu 24.04.1 LTS _Noble Numbat_ - Release amd64
(20240827.1) noble InRelease
Hit:2 cdrom://Ubuntu 24.04.1 LTS _Noble Numbat_ - Release amd64
(20240827.1) noble Release
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.43.0-1ubuntu7.1).
0 upgraded, 0 newly installed, 0 to remove and 305 not upgraded.
fatal: destination path 'tuxprotect' already exists and is not an empty
directory.
***@***.***:~/tuxprotect$
…On Fri, 27 Dec 2024 at 02:48, aron unger ***@***.***> wrote:
I added automatic installation and connection to the vpn, I have changed
the logic used to block the internet because when I tried to use your'e
logic before adding any code it you not let me connect to the vpn and even
when connected it didn't allow internet so I tested various logic until it
worked
------------------------------
You can view, comment on, or merge this pull request online at:
#2
Commit Summary
- 8900e86
<8900e86>
Delete install.sh
- 93f572f
<93f572f>
Add files via upload
- 1161181
<1161181>
Update tuxprotect
- 1b76599
<1b76599>
Update README.md
- 2a3a033
<2a3a033>
Update tuxprotect.service
- 54b6cb1
<54b6cb1>
Update tuxprotect
- 6631fdb
<6631fdb>
Update tuxprotect
- 726ba6d
<726ba6d>
Update tuxprotect.service
- d5d0659
<d5d0659>
Add files via upload
- db47ff4
<db47ff4>
Update tuxprotect to use vpn service
- 85de775
<85de775>
Update tuxprotect.service to use vpn service
- b40f03b
<b40f03b>
Update tuxprotect revert changes of vpn service and pused it into a branch
- 9172822
<9172822>
Update tuxprotect-vpn.service
- 9ade25b
<9ade25b>
Update tuxprotect.service
- bfd68e1
<bfd68e1>
Update tuxprotect
- 994a448
<994a448>
Update tuxprotect
- 17c3e36
<17c3e36>
Update tuxprotect
- 96b7eee
<96b7eee>
Update tuxprotect
- a93f38e
<a93f38e>
Update tuxprotect
- 9427681
<9427681>
Update tuxprotect
- 235dfe8
<235dfe8>
Update tuxprotect
- 6c917fa
<6c917fa>
Update tuxprotect
- 1d5dee3
<1d5dee3>
Update tuxprotect
- 6afeab5
<6afeab5>
Update README.md
- 47330ab
<47330ab>
Update README.md
File Changes
(5 files <https://github.com/lo-mityaesh/tuxprotect/pull/2/files>)
- *M* README.md
<https://github.com/lo-mityaesh/tuxprotect/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5>
(22)
- *M* install.sh
<https://github.com/lo-mityaesh/tuxprotect/pull/2/files#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44f>
(195)
- *M* tuxprotect
<https://github.com/lo-mityaesh/tuxprotect/pull/2/files#diff-3b9205988c195733b8aec1c6115290e6e55e5b8b7ac3a137682f709dea8729ce>
(283)
- *A* tuxprotect-vpn.service
<https://github.com/lo-mityaesh/tuxprotect/pull/2/files#diff-793e2afd39c8af4c3fbafd3de111f23195a82f2e5bff6514df01ec3eeeefb917>
(20)
- *M* tuxprotect.service
<https://github.com/lo-mityaesh/tuxprotect/pull/2/files#diff-07be7c7900a34b577ef0e07376b9dce85b859b8e14b4dc681d321a7b3e8159cc>
(8)
Patch Links:
- https://github.com/lo-mityaesh/tuxprotect/pull/2.patch
- https://github.com/lo-mityaesh/tuxprotect/pull/2.diff
—
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMVGDUCOQX73DW26SAE73ET2HSWXBAVCNFSM6AAAAABUH5X2D2VHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DAMRYGYZDKOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
changed the logging
change vpn chack that it shoud use netfrees api test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added automatic installation and connection to the vpn, I have changed the logic used to block the internet because when I tried to use your'e logic before adding any code it you not let me connect to the vpn and even when connected it didn't allow internet so I tested various logic until it worked