Comments (8)
From FTNT, it look will be possible :
from powerfgt.
Hi @poundy, there is more info available https://fndn.fortinet.net but no sure it is possible to set the policy ID...
from powerfgt.
Developer network is stupidly restrictive. You need two FTNT employees to vouch for you, which I don't have.....
That's a bit of a pain if you can't set the policy ID. For my use case I have two FGT clusters that have largely matching configurations in terms of Addresses, address groups, VIPs, VIPGRPs, and policies so that if we have an internet link failure that BGP manages, all services will continue to run. We've used a script to detect variance, which is easiest to do comparisons when the policy IDs match. And it's kind of weird because that is the key item within the CLI when you edit a policy or create a new policy....
from powerfgt.
Yes, i known for access to FTNT...
I will check for Policy ID
from powerfgt.
Yay, I have it (somewhat) working. I had bad capitalisation I think !
I'll amend my fork with the changes, once I test my code (and get the duplicate checking working that's harder than I thought - type confusion!) so it shows up in the PR and hopefully can make it for the 0.5.0 milestone.
And in the meantime I am trying to find an avenue into FNDN
from powerfgt.
Hi @poundy do you think push this change ? (i will write very soon test for Policy)
from powerfgt.
Yes please, we should get this incorporated. I use this mode regularly, as I manually maintain two distinct FGTs with matching rules and use the PolicyID as the key (create the policy programmatically on both FGTs at once with same PolicyID, so I know they are strictly matching)
My problem is that I can't figure out how to achieve that, my GIT fu is weak. I think that since my repo has some commits ahead of the main repo, and I did this development in a separate branch, I can't really figure out how to unwind all that and not lose content and not break existing commits. Any and all suggestions welcomed !!!
from powerfgt.
i reopen the issue for don't forget this issue (and i will also look to can set also uuid
for Github skill, you can look https://lab.github.com/
but on this case, it is easy ! fork this repo (it is already the case)
clone on your local machine
git clone https://github.com/yourusername/PowerFGT.git
go on the PowerFGT folder
cd PowerFGT
create a new local branch
git branch -b MyFeatureBranch
make local change and commit
git commit -a -m "My Feature"
push on your repo
git push"
(may be ask to set origin)
and after go on Github for make PR to this repo
If you need to update to last upstream (this repo)
Add FortiPower to upstream (for update/rebase)
git remote add upstream https://github.com/FortiPower/PowerFGT.git
Update source code (your branch and FortiPower Branch)
git fetch --all
Update your local branch with rebase
git rebase upstream/master
You may need to fix some merge issue (but git will say what command do you need to use !)
@Tuurtje, can be help for you too
from powerfgt.
Related Issues (20)
- problem with Add-FgtFirewallVip and UDP HOT 4
- Is PowerFGT able to connect to another port than 443 or 80 ? HOT 3
- Issue for delete the member of the Policy HOT 8
- Allow to organize policy in the Fortigate HOT 2
- Zone: Add description field HOT 2
- Question about use Remove-FGTFirewallPolicy HOT 2
- Set/Remove-FGTFirewallAddress not working when piping object from Get-FGTFirewallAddress HOT 4
- Failure to connect when post-login-banner is configured HOT 6
- Error connecting with v0.5.0 HOT 2
- Get IPsec vpn phase1 PSK HOT 6
- Filtering does not work correctly in old operating systems (5.x) HOT 10
- Align Filtering with FortiManager (PowerFMG) HOT 1
- Display the progress BAR HOT 5
- Bug with diacritics HOT 9
- Upgrade Path HOT 3
- Upgrade path error HOT 2
- Backup config isn't working HOT 1
- When using the "Remove-FGTFirewallAddressGroupMember" cmdlet, nothing happens HOT 12
- Reg Connect-FGT HOT 4
- Connecting with FortiToken? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerfgt.